CVE-2023-49092: RustCrypto/RSA vulnerable to a Marvin Attack via key recovery through timing sidechannels
Impact Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key.
Patches No patch is yet available, however work is underway to migrate to a fully constant-time implementation.
Workarounds The only currently available workaround is to avoid using the rsa crate in settings where attackers are able to observe timing information, e.g. local use on a non-compromised computer is fine.
References This vulnerability was discovered as part of the "Marvin Attack", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.
- https://rustsec.org/advisories/RUSTSEC-2023-0071.html - https://people.redhat.com/~hkario/marvin/ - https://github.com/RustCrypto/RSA/issues/19
Other sources
RustCrypto/RSA is a portable RSA implementation in pure Rust. Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key. There is currently no fix available. As a workaround, avoid using the RSA crate in settings where attackers are able to observe timing information, e.g. local use on a non-compromised computer.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2023-49092?
The severity of CVE-2023-49092 is high with a severity value of 7.4.
What is the impact of CVE-2023-49092?
Due to a non-constant-time implementation, information about the private key is leaked through timing information which is observable over the network. An attacker may be able to use that information to recover the key.
Is there a patch available for CVE-2023-49092?
No patch is available yet, but work is underway to mitigate the vulnerability.
Which software is affected by CVE-2023-49092?
The RustCrypto/RSA package with version up to and including 0.9.5 is affected by CVE-2023-49092.
What is the Common Weakness Enumeration (CWE) ID for CVE-2023-49092?
The CWE ID for CVE-2023-49092 is CWE-385.