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

Crate yubikey-piv

Dependencies

(15 total, 11 outdated, 1 insecure)

CrateRequiredLatestStatus
 der-parser^39.0.0out of date
 des^0.30.8.1out of date
 ecdsa^0.10.16.9out of date
 getrandom^0.10.2.14out of date
 hmac^0.70.12.1out of date
 log^0.40.4.21up to date
 nom^57.1.3out of date
 pbkdf2^0.30.12.2out of date
 pcsc^22.8.2up to date
 rsa ⚠️^0.1.40.9.6insecure
 secrecy^0.50.8.0out of date
 sha-1^0.80.10.1out of date
 subtle^22.5.0up to date
 x509-parser^0.60.16.0out of date
 zeroize^11.7.0up to date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.70.11.3out 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.