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

Crate yubihsm

Dependencies

(37 total, 1 insecure)

CrateRequiredLatestStatus
 aes^0.90.9.3up to date
 hybrid-array^0.40.4.15up to date
 bitflags^22.13.2up to date
 cmac^0.80.8.0up to date
 cbc^0.2.10.2.1up to date
 ccm^0.6.0-rc.30.6.1up to date
 crypto-common^0.20.2.2up to date
 cipher^0.50.5.2up to date
 der^0.8.00.8.2up to date
 digest^0.110.11.3up to date
 ecdsa^0.170.17.0up to date
 ed25519^33.0.0up to date
 log^0.40.4.34up to date
 p256^0.140.14.0up to date
 p384^0.140.14.0up to date
 p521^0.140.14.0up to date
 serde^11.0.229up to date
 rand^0.100.10.3up to date
 rand_core^0.100.10.1up to date
 rsa ⚠️^0.10.0-rc.180.9.10insecure
 signature^3.03.0.0up to date
 sha1^0.110.11.0up to date
 sha2^0.110.11.0up to date
 spki^0.80.8.0up to date
 subtle^22.6.1up to date
 thiserror^22.0.21up to date
 time^0.30.3.55up to date
 uuid^11.26.1up to date
 zeroize^1.81.9.0up to date
 ed25519-dalek^33.0.0up to date
 hmac^0.130.13.0up to date
 k256^0.140.14.0up to date
 pbkdf2^0.130.13.0up to date
 serde_json^11.0.151up to date
 rusb^0.9.40.9.4up to date
 tiny_http^0.120.12.0up to date
 x509-cert^0.30.3.0up to date

Dev dependencies

(9 total, 1 insecure)

CrateRequiredLatestStatus
 cipher^0.50.5.2up to date
 ed25519-dalek^33.0.0up to date
 hex-literal^11.1.0up to date
 once_cell^11.21.4up to date
 rsa ⚠️^0.10.0-rc.180.9.10insecure
 p256^0.140.14.0up to date
 p384^0.140.14.0up to date
 p521^0.140.14.0up to date
 x509-cert^0.30.3.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. The crypto-bigint migration (RustCrypto/RSA#394) did not close this. Tracking is RustCrypto/RSA#626 (padding still not constant-time). Implicit rejection work is in RustCrypto/RSA#680; default-path blinding is in RustCrypto/RSA#702.

Still affected as of 2026-09-12: rsa 0.9.10 (latest stable) and rsa 0.10.0-rc.18 (latest). patched = [] is intentional.

Workarounds

Avoid using the rsa crate in settings where attackers can observe timing, for example over the network. 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.