GitHub Advisoryadvisory · crates.io

GHSA-4grx-2x9w-596c Marvin Attack: potential key recovery through timing sidechannels

MEDIUM Published 2023-11-28 Modified 2026-05-04 Official page ↗
Ecosystem
crates.io
Packages
rsa
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-385
Reviewed
2023-11-28

Affected packages

• crates.io rsa: <= 0.9.6 (no fix yet)

Description

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/

Related

Weakness · CWE (1)

  • CWE-385 Covert Timing Channel weakness

References