rsa
Affected
- introduced
0.0.0-0, fixed0.10.0(semver)
Fixed versions
0.10.0
Fix
- Fixed version
0.10.0cargo update -p rsa --precise 0.10.0
Advisory
Also known as: CVE-2023-49092, GHSA-4grx-2x9w-596c, GHSA-c38w-74pg-36hr
Marvin Attack: potential key recovery through timing sidechannels
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/
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
0.0.0-0, fixed 0.10.0 (semver)0.10.0
0.10.0cargo update -p rsa --precise 0.10.0Fix 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
Source: RustSec Advisory Database · CC0-1.0