RustCrypto/RSA vulnerable to a Marvin Attack via key recovery through timing sidechannels
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-203.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| RustCrypto | RSA | up to 0.9.5 | — | No fix listed | CNA |
| — | rsa (crates.io) | up to 0.9.6 | — | No fix listed | GHSA-c38w-74pg-36hr |
- RSA VendorRustCrypto Affected up to 0.9.5 Fixed in — No fix listed CNA
- rsa (crates.io) Vendor— Affected up to 0.9.6 Fixed in — No fix listed GHSA-c38w-74pg-36hr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:* | all versions | Vulnerable | RustCrypto |
- cpe:2.3:a:rustcrypto:rsa:*:*:*:*:*:rust:*:* Versions all versions Vulnerable ·RustCrypto
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2023-49092
- 2026-10-03 Alias added: GHSA-c38w-74pg-36hr
References
Advisory 2
More RustCrypto Rsa vulnerabilities
- TI-2026-17595 rsa crate has potential panic on a prime being equal to 1 CVSS 4.0LOW 2.7
Sources
- CVE-2023-49092 · CVE Program
- CVE-2023-49092 · NVD
- FIRST EPSS
- GHSA-c38w-74pg-36hr · GitHub Advisory Database · CC BY 4.0
- CVE-2023-49092 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences