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 libp2p-identity

Dependencies

(17 total, 8 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 asn1_der^0.7.60.7.6up to date
 bs58^0.4.00.5.1out of date
 ed25519-dalek^2.02.1.1up to date
 libsecp256k1^0.7.00.7.2up to date
 log^0.40.4.26up to date
 multiaddr^0.17.10.18.2out of date
 multihash^0.17.00.19.3out of date
 p256^0.120.13.2out of date
 quick-protobuf^0.8.10.8.1up to date
 rand^0.80.9.0out of date
 ring ⚠️^0.16.90.17.14out of date
 sec1^0.3.00.7.3out of date
 serde^11.0.219up to date
 sha2^0.10.00.10.8up to date
 thiserror^1.02.0.12out of date
 void^1.01.0.2up to date
 zeroize^1.61.8.1up to date

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 base64^0.21.00.22.1out of date
 criterion^0.40.5.1out of date
 rmp-serde^1.01.3.0up to date
 serde_json^1.01.0.140up 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.