Live threats

All CVEs / Rustcrypto

CVE-2023-49092Rustcrypto Rsa

Medium 5.9 No auth needed

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
Weakness (CWE)
CWE-385, CWE-203
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rsa.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rustcryptorsaall

Official sources

References

Links published by the sources. Open them with care.