RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2023-0071

Marvin Attack: potential key recovery through timing sidechannels

Reported
Issued
Package
rsa (crates.io)
Type
Vulnerability
Categories
Keywords
#cryptography
Aliases
References
CVSS Score
5.9 MEDIUM
CVSS Details
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality Impact
High
Integrity Impact
None
Availability Impact
None
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Patched
  • >=0.10.0

Description

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.

Advisory available under CC0-1.0 license.