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 webrtc-dtls

Dependencies

(30 total, 6 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 aes^0.80.8.4up to date
 aes-gcm^0.100.10.3up to date
 async-trait^0.10.1.88up to date
 bincode^12.0.1out of date
 byteorder^11.5.0up to date
 cbc^0.10.1.2up to date
 ccm^0.50.5.0up to date
 der-parser^9.010.0.0out of date
 hkdf^0.120.12.4up to date
 hmac^0.120.12.1up to date
 log^0.40.4.27up to date
 p256^0.130.13.2up to date
 p384^0.130.13.1up to date
 pem^33.0.5up to date
 portable-atomic^1.61.11.0up to date
 rand^0.80.9.0out of date
 rand_core^0.60.9.3out of date
 rcgen^0.130.13.2up to date
 ring ⚠️^0.170.17.14maybe insecure
 rustls ⚠️^0.23.100.23.26maybe insecure
 sec1^0.70.7.3up to date
 serde^11.0.219up to date
 sha1^0.100.10.6up to date
 sha2^0.100.10.8up to date
 subtle^22.6.1up to date
 thiserror^12.0.12out of date
 tokio^1.32.01.44.2up to date
 webrtc-util^0.10.00.10.0up to date
 x25519-dalek^22.0.1up to date
 x509-parser^0.160.17.0out of date

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 chrono^0.4.280.4.40up to date
 clap^34.5.36out of date
 env_logger^0.11.30.11.8up to date
 tokio-test^0.40.4.4up to date

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.