Files
advisory-db/crates/rsa/RUSTSEC-2023-0071.md
Lukas Braune fd71859263 Update CVSS score of RUSTSEC-2023-0071 (#1838)
CVSS score has been updated by the package maintainer:
https://github.com/github/advisory-database/pull/3030
https://github.com/advisories/GHSA-c38w-74pg-36hr

Moreover, there is a duplicate GHSA which should be mentioned as alias:
https://github.com/advisories/GHSA-4grx-2x9w-596c
2023-12-15 07:57:06 -07:00

1.3 KiB

[advisory]
id = "RUSTSEC-2023-0071"
package = "rsa"
date = "2023-11-22"
keywords = ["cryptography"]
categories = ["crypto-failure"]
url = "https://github.com/RustCrypto/RSA/issues/19#issuecomment-1822995643"
references = ["https://people.redhat.com/~hkario/marvin/"]
cvss = "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
aliases = ["CVE-2023-49092", "GHSA-c38w-74pg-36hr", "GHSA-4grx-2x9w-596c"]

[versions]
patched = []

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

No patch is yet available, however work is underway to migrate to a fully constant-time implementation.

Workarounds

The only currently available workaround is to avoid using the rsa crate in settings where attackers are able to observe timing information, e.g. local use on a non-compromised computer is fine.

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.