CVE-2023-49092Rustcrypto Rsa
Medium 5.9 No auth needed
Follow: this CVE · Rustcrypto · Rustcrypto Rsa We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Nov 28, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Rsa.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | rsa |
≤ 0.9.6 |
no fixed version | — |
| crates.io | rsa |
≤ 0.9.6 |
no fixed version | — |
| crates.io | rsa |
≥ 0.0.0-0 < 0.10.0 |
0.10.0 |
cargo update -p rsa --precise 0.10.0 |
Per OSV / GitHub Advisories (GHSA-4grx-2x9w-596c, GHSA-c38w-74pg-36hr, RUSTSEC-2023-0071). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rustcrypto | rsa | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Vendor Advisory