CVE-2023-49092 RustCrypto/RSA vulnerable to a Marvin Attack via key recovery through timing sidechannels

Medium 5.9 Published Updated

Attackers can recover private RSA keys by observing timing side channels in the RustCrypto RSA library, compromising encrypted data and authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-49092?

CVE-2023-49092 is a medium-severity vulnerability in RustCrypto RSA, published on 28 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-203, CWE-385

Which versions are affected by CVE-2023-49092?

5 open source packages ship an affected version, including rsa. It affects 1 product.

PackageAffectedFixed in
rsa crates.ioAll versions to 0.9.6None
rsa crates.ioAll versions to 0.9.6None
rsa crates.ioAll versions to 0.9.6None
rsa crates.ioAll versions to 0.9.6None
rsa crates.ioFrom 0.0.0-0None
Linux distribution packages (1)
cargo-audit-advisory-db openSUSE:TumbleweedAll versions20231219-1.1

Products include Rustcrypto Rsa.

How do I fix CVE-2023-49092?

No fix published yet.

Is CVE-2023-49092 being exploited?

There is no known exploitation of CVE-2023-49092 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2023-49092, GHSA-4grx-2x9w-596c, GHSA-c38w-74pg-36hr, MINI-2pc2-jgvp-2r86, MINI-hpx4-jmxf-w6c5, RUSTSEC-2023-0071 and 2 more.

Is CVE-2023-49092 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free