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

Dependencies

(28 total, 9 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 aes^0.80.8.4up to date
 aes-gcm^0.100.10.3up to date
 bincode^12.0.1out of date
 byteorder^11.5.0up to date
 bytes^1.41.10.1up to date
 cbc^0.10.1.2up to date
 ccm^0.50.5.0up to date
 der-parser^910.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
 rand^0.80.9.1out of date
 rand_core^0.60.9.3out of date
 rcgen^0.120.13.2out of date
 ring ⚠️^0.170.17.14maybe insecure
 rustls ⚠️^0.210.23.28out of date
 sec1^0.70.7.3up to date
 serde^11.0.219up to date
 sha1^0.100.10.6up to date
 sha2^0.100.10.9up to date
 rtc-shared^0.1.10.2.1out of date
 subtle^22.6.1up to date
 thiserror^12.0.12out of date
 x25519-dalek^22.0.1up to date
 x509-parser^0.160.17.0out of date

Dev dependencies

(8 total, all up-to-date)

CrateRequiredLatestStatus
 anyhow^11.0.98up to date
 chrono^0.4.340.4.41up to date
 clap^44.5.40up to date
 core_affinity^0.80.8.3up to date
 ctrlc^33.4.7up to date
 env_logger^0.110.11.8up to date
 futures^0.30.3.31up to date
 local-sync^0.10.1.1up to date

Security Vulnerabilities

rustls: `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input

RUSTSEC-2024-0336

If a close_notify alert is received during a handshake, complete_io does not terminate.

Callers which do not call complete_io are not affected.

rustls-tokio and rustls-ffi do not call complete_io and are not affected.

rustls::Stream and rustls::StreamOwned types use complete_io and 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.