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-quic

Dependencies

(17 total, 5 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 async-std^1.12.01.13.2up to date
 bytes^1.6.01.11.0up to date
 futures^0.3.300.3.31up to date
 futures-timer^3.0.33.0.3up to date
 if-watch^3.2.03.2.1up to date
 libp2p-core^0.41.20.43.1out of date
 libp2p-identity^0.2.80.2.13up to date
 libp2p-tls^0.4.00.6.2out of date
 parking_lot^0.12.20.12.5up to date
 quinn^0.11.00.11.9up to date
 rand^0.8.50.9.2out of date
 ring ⚠️^0.17.80.17.14maybe insecure
 rustls ⚠️^0.23.50.23.35maybe insecure
 socket2^0.5.70.6.1out of date
 thiserror^1.0.612.0.17out of date
 tokio^1.371.48.0up to date
 tracing^0.1.370.1.43up to date

Dev dependencies

(8 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-std^1.12.01.13.2up to date
 libp2p-identity^0.2.80.2.13up to date
 libp2p-noise^0.44.00.46.1out of date
 libp2p-tcp^0.41.00.44.0out of date
 libp2p-yamux^0.45.10.47.0out of date
 quickcheck^11.0.3up to date
 tokio^1.371.48.0up to date
 tracing-subscriber ⚠️^0.30.3.22maybe insecure

Security Vulnerabilities

rustls: rustls network-reachable panic in `Acceptor::accept`

RUSTSEC-2024-0399

A bug introduced in rustls 0.23.13 leads to a panic if the received TLS ClientHello is fragmented. Only servers that use rustls::server::Acceptor::accept() are affected.

Servers that use tokio-rustls's LazyConfigAcceptor API are affected.

Servers that use tokio-rustls's TlsAcceptor API are not affected.

Servers that use rustls-ffi's rustls_acceptor_accept API are affected.

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.

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.