Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-49092 EUVD-2023-2946GHSA-4grx-2x9w-596cGHSA-c38w-74pg-36hrRUSTSEC-2023-0071

RustCrypto/RSA vulnerable to a Marvin Attack via key recovery through timing sidechannels

Published Nov 28, 2023 · Updated Nov 27, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
RustCrypto RSA <= 0.9.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-rsa No fix yet —
Debian 13 rust-rsa No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-rsa No fix yet —
Ubuntu 26.04 LTS rust-rsa No fix yet —
Ubuntu 25.10 rust-rsa No fix yet —
Ubuntu 24.04 LTS rust-rsa No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cargo-audit-advisory-db 20231219-1.1 openSUSE-SU-2024:13542-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling atuin 18.10.0-r0 —
Wolfi rolling deno 2.6.4-r1 —
Wolfi rolling sccache 0.12.0-r1 —
Wolfi rolling vector 0.55.0-r0 —
Wolfi rolling zed 0.166.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io rsa <= 0.9.6 — GHSA-4grx-2x9w-596c
crates.io rsa >= 0.0.0-0, < 0.10.0 0.10.0 RUSTSEC-2023-0071

Advisories 1

References