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

Crate yubikey

Dependencies

(23 total, 3 outdated, 1 insecure)

CrateRequiredLatestStatus
 bitflags^2.5.02.9.0up to date
 der=0.8.0-rc.10.7.9up to date
 des=0.9.0-pre.20.8.1up to date
 elliptic-curve=0.14.0-rc.10.13.8up to date
 base16ct^0.20.2.0up to date
 log^0.40.4.26up to date
 nom^78.0.0out of date
 num-bigint-dig^0.80.8.4up to date
 num-traits^0.20.2.19up to date
 num-integer^0.10.1.46up to date
 ecdsa=0.17.0-pre.90.16.9up to date
 p256=0.14.0-pre.20.13.2up to date
 p384=0.14.0-pre.20.13.1up to date
 pbkdf2=0.13.0-pre.10.12.2up to date
 pcsc^2.3.12.9.0up to date
 rand_core^0.60.9.3out of date
 rsa ⚠️=0.10.0-pre.30.9.7insecure
 secrecy^0.80.10.3out of date
 sha1=0.11.0-pre.40.10.6up to date
 signature=2.3.0-pre.42.2.0up to date
 subtle^22.6.1up to date
 uuid^1.21.15.1up to date
 zeroize^11.8.1up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 env_logger^0.110.11.7up to date
 once_cell^11.21.0up to date

Crate yubikey-cli

Dependencies

(6 total, all up-to-date)

CrateRequiredLatestStatus
 clap^44.5.32up to date
 env_logger^0.110.11.7up to date
 base16ct^0.20.2.0up to date
 log^0.40.4.26up to date
 once_cell^11.21.0up to date
 termcolor^11.4.1up 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.