This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate ssi-crypto

Dependencies

(23 total, 10 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-trait^0.1.680.1.88up to date
 bbs=0.4.10.4.1up to date
 bs58^0.40.5.1out of date
 digest^0.90.10.7out of date
 ed25519-dalek^2.02.1.1up to date
 getrandom^0.20.3.3out of date
 hex^0.4.30.4.3up to date
 hkdf^0.80.12.4out of date
 iref^3.2.23.2.2up to date
 k256^0.13.10.13.4up to date
 keccak-hash^0.70.11.0out of date
 p256^0.13.20.13.2up to date
 p384^0.13.00.13.1up to date
 pairing-plus=0.19.00.19.0up to date
 pin-project^1.1.31.1.10up to date
 rand^0.70.9.1out of date
 ring ⚠️^0.160.17.14out of date
 ripemd160^0.90.10.0out of date
 serde^1.01.0.219up to date
 sha2^0.80.10.9out of date
 static-iref^3.03.0.0up to date
 thiserror^1.0.402.0.12out of date
 zeroize^1.51.8.1up 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.