RUSTSEC-2023-0071

Source
https://rustsec.org/advisories/RUSTSEC-2023-0071
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0071.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0071
Aliases
Published
2023-11-22T12:00:00Z
Modified
2023-12-15T15:11:24.159127Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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

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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / rsa

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
    "informational": null,
    "categories": [
        "crypto-failure"
    ]
}