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

Crate yubihsm

Dependencies

(34 total, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 aes^0.9.0-rc.20.8.4up to date
 bitflags^22.11.0up to date
 cmac^0.8.0-rc.30.7.2up to date
 cbc^0.2.0-rc.20.1.2up to date
 ccm^0.6.0-rc.20.5.0up to date
 der^0.8.0-rc.100.8.0up to date
 digest^0.11.0-rc.00.11.2up to date
 ecdsa^0.17.0-rc.90.16.9up to date
 ed25519^3.0.0-rc.22.2.3up to date
 log^0.40.4.29up to date
 p256^0.14.0-rc.10.13.2up to date
 p384^0.14.0-rc.10.13.1up to date
 p521^0.14.0-rc.10.13.3up to date
 serde^11.0.228up to date
 rand^0.10.0-rc.50.10.0up to date
 rand_core^0.10.0-rc.20.10.0up to date
 rsa ⚠️^0.10.0-rc.100.9.10insecure
 signature^3.0.0-rc.52.2.0up to date
 sha1^0.11.0-rc.30.11.0up to date
 sha2^0.11.0-rc.30.11.0up to date
 spki^0.8.0-rc.00.7.3up to date
 subtle^22.6.1up to date
 thiserror^22.0.18up to date
 time ⚠️^0.30.3.47maybe insecure
 uuid^11.23.0up to date
 zeroize^1.81.8.2up to date
 ed25519-dalek^3.0.0-pre.22.2.0up to date
 hmac^0.13.0-rc.30.13.0up to date
 k256^0.14.0-rc.10.13.4up to date
 pbkdf2^0.13.0-rc.20.12.2up to date
 serde_json^11.0.149up to date
 rusb^0.9.40.9.4up to date
 tiny_http^0.120.12.0up to date
 x509-cert^0.3.0-rc.10.2.5up to date

Dev dependencies

(8 total, 1 insecure)

CrateRequiredLatestStatus
 ed25519-dalek=3.0.0-pre.22.2.0up to date
 hex-literal^11.1.0up to date
 once_cell^11.21.4up to date
 rsa ⚠️^0.10.0-rc.100.9.10insecure
 p256^0.14.0-rc.10.13.2up to date
 p384^0.14.0-rc.10.13.1up to date
 p521^0.14.0-rc.10.13.3up to date
 x509-cert^0.3.0-rc.20.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.

time: Denial of Service via Stack Exhaustion

RUSTSEC-2026-0009

Impact

When user-provided input is provided to any type that parses with the RFC 2822 format, a denial of service attack via stack exhaustion is possible. The attack relies on formally deprecated and rarely-used features that are part of the RFC 2822 format used in a malicious manner. Ordinary, non-malicious input will never encounter this scenario.

Patches

A limit to the depth of recursion was added in v0.3.47. From this version, an error will be returned rather than exhausting the stack.

Workarounds

Limiting the length of user input is the simplest way to avoid stack exhaustion, as the amount of the stack consumed would be at most a factor of the length of the input.