Advisory

RUSTSEC-2023-0071

Also known as: CVE-2023-49092, GHSA-4grx-2x9w-596c, GHSA-c38w-74pg-36hr

Summary

Marvin Attack: potential key recovery through timing sidechannels

Details

Impact
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.

Patches
The rsa v0.10 series includes a migration to crypto-bigint and constant-time mitigations recommended in draft-irtf-cfrg-rsa-guidance. Upgrading to this release should resolve all known constant-time issues.

References
This vulnerability was discovered as part of the "[Marvin Attack]", which revealed several implementations of RSA including OpenSSL had not properly mitigated timing sidechannel attacks.

[Marvin Attack]: https://people.redhat.com/~hkario/marvin/

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2023-11-22 12:00 UTC
Modified
2026-11-08 23:15 UTC

Affected packages and fixes

rsa

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.10.0 (semver)

Fixed versions

0.10.0

Fix

  • Fixed version 0.10.0
    cargo update -p rsa --precise 0.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences