This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate rsa-fdh

Dependencies

(8 total, 6 outdated, 1 insecure)

CrateRequiredLatestStatus
 digest^0.8.10.10.7out of date
 failure^0.1.60.1.8up to date
 fdh^0.6.00.8.1out of date
 num-bigint^0.2.60.4.4out of date
 num-bigint-dig^0.6.00.8.4out of date
 rand^0.7.30.8.5out of date
 rsa ⚠️^0.2.00.9.6insecure
 subtle^2.2.22.5.0up to date

Dev dependencies

(4 total, 3 outdated)

CrateRequiredLatestStatus
 hex^0.4.10.4.3up to date
 rand^0.7.30.8.5out of date
 sha-1^0.8.20.10.1out of date
 sha2^0.8.10.10.8out of date

Security Vulnerabilities

rsa: Marvin Attack: potential key recovery through timing sidechannels

RUSTSEC-2023-0071

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.