Debian Rust Security Tracker 🩺🦀

RUSTSEC-2023-0071: Marvin Attack: potential key recovery through timing sidechannels

medium 6 affected
Crate
rsa
Patched Versions
—
Debian Version
0.9.10-1+b1
Debian Bugs
—
Issued
2023-11-22
Aliases
CVE-2023-49092
GHSA-c38w-74pg-36hr
GHSA-4grx-2x9w-596c
Patched:Affected

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. The crypto-bigint migration (RustCrypto/RSA#394) did not close this. Tracking is RustCrypto/RSA#626 (padding still not constant-time). Implicit rejection work is in RustCrypto/RSA#680; default-path blinding is in RustCrypto/RSA#702.

Still affected as of 2026-09-12: rsa 0.9.10 (latest stable) and rsa 0.10.0-rc.18 (latest). patched = [] is intentional.

Workarounds

Avoid using the rsa crate in settings where attackers can observe timing, for example over the network. 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.

Affected Packages

affected ⚠️ librust-rsa-dev 0.9.10-1+b1
rsa 0.9.10 nanopub 0.2.0+ds-1.1+b2
rsa 0.9.10 rage 0.12.1-1
rsa 0.9.10 rbw 1.15.0-2+b2
rsa 0.9.10 rpacket 0.1.5-3
rsa 0.9.10 sccache 0.17.0+ds-3+b2