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

Crate yubihsm

Dependencies

(22 total, 15 outdated, 1 insecure)

CrateRequiredLatestStatus
 aes^0.30.9.3out of date
 bitflags^12.13.2out of date
 block-modes^0.30.9.1out of date
 chrono^0.40.4.45up to date
 cmac^0.20.8.0out of date
 getrandom^0.10.4.3out of date
 harp^0.1N/Aup to date
 hmac^0.70.13.0out of date
 log^0.40.4.34up to date
 pbkdf2^0.30.13.0out of date
 ring ⚠️^0.160.17.14insecure
 rusb^0.50.9.4out of date
 secp256k1^0.170.33.1out of date
 serde^11.0.229up to date
 serde_json^11.0.151up to date
 sha2^0.80.11.0out of date
 signatory^0.170.27.1out of date
 signature^1.0.0-pre.13.0.0out of date
 subtle^22.6.1up to date
 tiny_http^0.60.12.0out of date
 uuid^0.81.26.1out of date
 zeroize^11.9.0up to date

Dev dependencies

(5 total, 2 outdated, 1 insecure)

CrateRequiredLatestStatus
 criterion^0.20.8.2out of date
 lazy_static^11.5.0up to date
 ring ⚠️^0.160.17.14insecure
 signatory-ring^0.17N/Aup to date
 signatory-secp256k1^0.17N/Aup to date

Security Vulnerabilities

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.