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

Crate yubihsm

Dependencies

(31 total, 2 outdated, 1 insecure)

CrateRequiredLatestStatus
 aes^0.9.0-rc.00.8.4up to date
 bitflags^22.9.4up to date
 cmac^0.8.0-rc.00.7.2up to date
 cbc^0.2.0-rc.00.1.2up to date
 ccm=0.6.0-pre0.5.0out of date
 digest^0.11.0-rc.00.10.7up to date
 ecdsa^0.17.0-rc.00.16.9up to date
 ed25519=3.0.0-pre.02.2.3up to date
 log^0.40.4.28up to date
 p256=0.14.0-pre.90.13.2up to date
 p384=0.14.0-pre.90.13.1up to date
 p521=0.14.0-pre.90.13.3up to date
 serde^11.0.225up to date
 rand_core^0.90.9.3up to date
 rsa ⚠️^0.10.0-rc.30.9.8insecure
 signature^3.0.0-rc.02.2.0up to date
 sha1^0.11.0-rc.00.10.6up to date
 sha2^0.11.0-rc.00.10.9up to date
 spki^0.8.0-rc.00.7.3up to date
 subtle^22.6.1up to date
 thiserror^12.0.16out of date
 time^0.30.3.43up to date
 uuid^11.18.1up to date
 zeroize^1.81.8.1up to date
 ed25519-dalek=3.0.0-pre.02.2.0up to date
 hmac^0.13.0-rc.00.12.1up to date
 k256=0.14.0-pre.90.13.4up to date
 pbkdf2^0.13.0-rc.00.12.2up to date
 serde_json^11.0.145up to date
 rusb^0.9.40.9.4up to date
 tiny_http^0.120.12.0up to date

Dev dependencies

(8 total, 1 insecure)

CrateRequiredLatestStatus
 ed25519-dalek=3.0.0-pre.02.2.0up to date
 hex-literal^11.0.0up to date
 once_cell^11.21.3up to date
 rsa ⚠️^0.10.0-rc.30.9.8insecure
 p256=0.14.0-pre.90.13.2up to date
 p384=0.14.0-pre.90.13.1up to date
 p521=0.14.0-pre.90.13.3up to date
 x509-cert^0.3.0-rc.10.2.5up 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.