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

Crate yubihsm

Dependencies

(30 total, 1 insecure)

CrateRequiredLatestStatus
 aes^0.80.8.4up to date
 bitflags^22.5.0up to date
 cmac^0.70.7.2up to date
 cbc^0.10.1.2up to date
 ccm^0.50.5.0up to date
 ecdsa^0.160.16.9up to date
 ed25519^22.2.3up to date
 log^0.40.4.21up to date
 num-traits^0.20.2.19up to date
 p256^0.130.13.2up to date
 p384^0.130.13.0up to date
 serde^11.0.203up to date
 rand_core^0.60.6.4up to date
 rsa ⚠️^0.9.60.9.6insecure
 signature^22.2.0up to date
 sha2^0.100.10.8up to date
 spki^0.7.30.7.3up to date
 subtle^22.5.0up to date
 thiserror^11.0.61up to date
 time^0.30.3.36up to date
 uuid^11.8.0up to date
 zeroize^11.8.1up to date
 digest^0.100.10.7up to date
 ed25519-dalek^22.1.1up to date
 hmac^0.120.12.1up to date
 k256^0.130.13.3up to date
 pbkdf2^0.120.12.2up to date
 serde_json^11.0.117up to date
 rusb^0.90.9.4up to date
 tiny_http^0.120.12.0up to date

Dev dependencies

(4 total, all up-to-date)

CrateRequiredLatestStatus
 ed25519-dalek^22.1.1up to date
 once_cell^11.19.0up to date
 p256^0.130.13.2up to date
 x509-cert^0.2.50.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.