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

Crate yubihsm

Dependencies

(37 total, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 aes^0.90.9.2up to date
 hybrid-array^0.40.4.14up to date
 bitflags^22.13.1up to date
 cmac^0.80.8.0up to date
 cbc^0.2.10.2.1up to date
 ccm^0.6.0-rc.30.5.0up to date
 crypto-common^0.20.2.2up to date
 cipher^0.50.5.2up to date
 der^0.8.00.8.1up 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.33up 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.2up 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.20up to date
 time ⚠️^0.30.3.55maybe insecure
 uuid^11.24.0up 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, 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.