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

Crate yubikey

Dependencies

(25 total, 1 outdated, 1 insecure)

CrateRequiredLatestStatus
 der^0.7.10.7.9up to date
 des^0.80.8.1up to date
 ecdsa^0.16.70.16.9up to date
 elliptic-curve^0.130.13.8up to date
 base16ct^0.20.2.0up to date
 hmac^0.120.12.1up to date
 log^0.40.4.22up to date
 nom^77.1.3up to date
 num-bigint-dig^0.80.8.4up to date
 num-integer^0.10.1.46up to date
 num-traits^0.20.2.19up to date
 p256^0.130.13.2up to date
 p384^0.130.13.0up to date
 pbkdf2^0.120.12.2up to date
 pcsc^2.3.12.8.2up to date
 rand_core^0.60.6.4up to date
 rsa ⚠️^0.9.20.9.6insecure
 secrecy^0.80.10.3out of date
 sha1^0.100.10.6up to date
 sha2^0.100.10.8up to date
 signature^22.2.0up to date
 subtle^22.6.1up to date
 uuid^1.21.11.0up to date
 x509-cert^0.2.30.2.5up to date
 zeroize^11.8.1up to date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.100.11.5out of date
 once_cell^11.20.2up to date
 signature^22.2.0up to 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.