CVE-2023-49092
MEDIUM 5.9CVSS 3.1Marvin Attack: potential key recovery through timing sidechannels
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.
- Published
- 28 Nov 2023
- Last modified
- 8 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-203CWE-385
- Also known as
- GHSA-4grx-2x9w-596cGHSA-c38w-74pg-36hrRUSTSEC-2023-0071
- Sources
- NVDJSONOSV GHSA-4grx-2x9w-596cJSONOSV GHSA-c38w-74pg-36hrJSONOSV RUSTSEC-2023-0071JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rustcrypto | rsacpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:* |
all versions | |
| OSV | crates.io | rsa | <= 0.9.6 | |
| OSV | crates.io | rsa | >= 0.0.0-0, < 0.10.0 | 0.10.0 |
References
- https://github.com/RustCrypto/RSA/issues/19#issuecomment-1822995643 · Issue Tracking, WEB, REPORT
- https://github.com/RustCrypto/RSA/security/advisories/GHSA-c38w-74pg-36hr · Vendor Advisory, WEB
- https://github.com/RustCrypto/RSA/issues/626 · WEB, REPORT
- https://github.com/RustCrypto/RSA · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0071.html · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2023-49092 · ADVISORY
- https://crates.io/crates/rsa · PACKAGE
- https://people.redhat.com/~hkario/marvin/ · WEB
- https://github.com/RustCrypto/RSA/pull/394 · WEB
- https://github.com/RustCrypto/RSA/pull/680 · WEB
- https://github.com/RustCrypto/RSA/pull/702 · WEB
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 28 Nov 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Nov 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Nov 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Nov 2023)