medium5.9No CVE yet
GHSA-4grx-2x9w-596c
Marvin Attack: potential key recovery through timing sidechannels
Impact
The [Marvin Attack] is a timing sidechannel vulnerability which allows performing RSA decryption and signing operations as an attacker with the ability to observe only the time of the decryption operation performed withthe private key. A recent survey of RSA implementations found that the Rust `rsa` crate is one of many implementations vulnerable to this attack. No fixed version is available at this time. [Marvin Attack]: https://people.redhat.com/~hkario/marvin/
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | rsa | <= 0.9.6 | none recorded |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-4grx-2x9w-596c
- https://github.com/RustCrypto/RSA/security/advisories/GHSA-c38w-74pg-36hr
- https://github.com/RustCrypto/RSA/issues/19#issuecomment-1822995643
- https://rustsec.org/advisories/RUSTSEC-2023-0071.html
- https://github.com/RustCrypto/RSA/issues/626