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

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 bytes^11.10.1up to date
 log^0.40.4.26up to date
 thiserror^12.0.12out of date
 portable-atomic^1.61.11.0up to date

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 env_logger^0.11.30.11.7up to date
 chrono^0.4.280.4.40up to date

Crate webrtc-dtls

Dependencies

(29 total, 6 outdated, 2 possibly insecure)

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

Dev dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 env_logger^0.11.30.11.7up to date
 chrono^0.4.280.4.40up to date
 clap^34.5.32out of date

Crate examples

Dev dependencies

(14 total, 3 outdated)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 env_logger^0.11.30.11.7up to date
 clap^34.5.32out of date
 hyper^0.14.271.6.0out of date
 tokio-util^0.70.7.13up to date
 anyhow^11.0.97up to date
 chrono^0.4.280.4.40up to date
 log^0.40.4.26up to date
 serde^11.0.219up to date
 serde_json^11.0.140up to date
 bytes^11.10.1up to date
 lazy_static^11.5.0up to date
 rand^0.80.9.0out of date
 memchr^2.1.12.7.4up to date

Crate webrtc-ice

Dependencies

(13 total, 2 outdated)

CrateRequiredLatestStatus
 arc-swap^11.7.1up to date
 async-trait^0.10.1.87up to date
 crc^33.2.1up to date
 log^0.40.4.26up to date
 rand^0.80.9.0out of date
 serde^11.0.219up to date
 serde_json^11.0.140up to date
 thiserror^12.0.12out of date
 tokio^1.32.01.44.0up to date
 url^22.5.4up to date
 uuid^11.15.1up to date
 waitgroup^0.10.1.2up to date
 portable-atomic^1.61.11.0up to date

Dev dependencies

(9 total, 2 outdated)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 regex^1.9.51.11.1up to date
 env_logger^0.11.30.11.7up to date
 chrono^0.4.280.4.40up to date
 ipnet^22.11.0up to date
 clap^34.5.32out of date
 lazy_static^11.5.0up to date
 hyper^0.14.271.6.0out of date
 sha1^0.100.10.6up to date

Crate interceptor

Dependencies

(8 total, 2 outdated)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 async-trait^0.10.1.87up to date
 bytes^11.10.1up to date
 thiserror^12.0.12out of date
 rand^0.80.9.0out of date
 waitgroup^0.10.1.2up to date
 log^0.40.4.26up to date
 portable-atomic^1.61.11.0up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 chrono^0.4.280.4.40up to date

Crate webrtc-mdns

Dependencies

(4 total, 1 outdated)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 socket2^0.50.5.8up to date
 log^0.40.4.26up to date
 thiserror^12.0.12out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 env_logger^0.11.30.11.7up to date
 chrono^0.4.280.4.40up to date
 clap^34.5.32out of date

Crate webrtc-media

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 byteorder^11.5.0up to date
 bytes^11.10.1up to date
 thiserror^12.0.12out of date
 rand^0.80.9.0out of date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 criterion^0.50.5.1up to date
 nearly_eq^0.20.2.4up to date

Crate rtcp

Dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 bytes^11.10.1up to date
 thiserror^12.0.12out of date

Crate rtp

Dependencies

(6 total, 2 outdated)

CrateRequiredLatestStatus
 bytes^11.10.1up to date
 rand^0.80.9.0out of date
 thiserror^12.0.12out of date
 serde^11.0.219up to date
 portable-atomic^1.61.11.0up to date
 memchr^2.1.12.7.4up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 chrono^0.4.280.4.40up to date
 criterion^0.50.5.1up to date

Crate webrtc-sctp

Dependencies

(9 total, 2 outdated)

CrateRequiredLatestStatus
 arc-swap^11.7.1up to date
 tokio^1.32.01.44.0up to date
 bytes^11.10.1up to date
 rand^0.80.9.0out of date
 crc^3.2.13.2.1up to date
 async-trait^0.10.1.87up to date
 log^0.40.4.26up to date
 thiserror^12.0.12out of date
 portable-atomic^1.61.11.0up to date

Dev dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 lazy_static^11.5.0up to date
 env_logger^0.11.30.11.7up to date
 chrono^0.4.280.4.40up to date
 clap^34.5.32out of date

Crate sdp

Dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 url^22.5.4up to date
 rand^0.80.9.0out of date
 thiserror^12.0.12out of date
 substring^11.4.5up to date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 criterion^0.50.5.1up to date

Crate webrtc-srtp

Dependencies

(13 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 byteorder^11.5.0up to date
 bytes^11.10.1up to date
 thiserror^12.0.12out of date
 hmac^0.120.12.1up to date
 sha1^0.100.10.6up to date
 ctr^0.90.9.2up to date
 aes^0.80.8.4up to date
 subtle^22.6.1up to date
 tokio^1.32.01.44.0up to date
 log^0.40.4.26up to date
 aead^0.50.5.2up to date
 aes-gcm^0.100.10.3up to date
 openssl ⚠️^0.10.660.10.71maybe insecure

Dev dependencies

(3 total, all up-to-date)

CrateRequiredLatestStatus
 criterion^0.50.5.1up to date
 tokio-test^0.40.4.4up to date
 lazy_static^11.5.0up to date

Crate stun

Dependencies

(10 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 lazy_static^11.5.0up to date
 url^22.5.4up to date
 rand^0.80.9.0out of date
 base64^0.22.10.22.1up to date
 subtle^2.42.6.1up to date
 crc^33.2.1up to date
 ring ⚠️^0.170.17.13maybe insecure
 md-5^0.100.10.6up to date
 thiserror^12.0.12out of date

Dev dependencies

(3 total, 1 outdated)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 clap^34.5.32out of date
 criterion^0.50.5.1up to date

Crate turn

Dependencies

(11 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 tokio-util^0.70.7.13up to date
 futures^0.30.3.31up to date
 async-trait^0.10.1.87up to date
 log^0.40.4.26up to date
 base64^0.22.10.22.1up to date
 rand^0.80.9.0out of date
 ring ⚠️^0.170.17.13maybe insecure
 md-5^0.100.10.6up to date
 thiserror^12.0.12out of date
 portable-atomic^1.61.11.0up to date

Dev dependencies

(6 total, 1 outdated)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 env_logger^0.11.30.11.7up to date
 chrono^0.4.280.4.40up to date
 hex^0.40.4.3up to date
 clap^34.5.32out of date
 criterion^0.50.5.1up to date

Crate webrtc-util

Dependencies

(9 total, 2 outdated)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 lazy_static^11.5.0up to date
 async-trait^0.10.1.87up to date
 ipnet^2.6.02.11.0up to date
 log^0.40.4.26up to date
 rand^0.80.9.0out of date
 bytes^11.10.1up to date
 thiserror^12.0.12out of date
 portable-atomic^1.61.11.0up to date

Dev dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 env_logger^0.11.30.11.7up to date
 chrono^0.4.280.4.40up to date
 criterion^0.50.5.1up to date
 async-global-executor^23.1.0out of date

Crate webrtc

Dependencies

(23 total, 3 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 arc-swap^11.7.1up to date
 tokio^1.32.01.44.0up to date
 log^0.40.4.26up to date
 async-trait^0.10.1.87up to date
 serde^11.0.219up to date
 serde_json^11.0.140up to date
 rand^0.80.9.0out of date
 bytes^11.10.1up to date
 thiserror^12.0.12out of date
 waitgroup^0.10.1.2up to date
 regex^1.9.51.11.1up to date
 smol_str^0.20.3.2out of date
 url^22.5.4up to date
 rustls ⚠️^0.23.100.23.23maybe insecure
 rcgen^0.130.13.2up to date
 ring ⚠️^0.170.17.13maybe insecure
 sha2^0.100.10.8up to date
 lazy_static^1.41.5.0up to date
 hex^0.40.4.3up to date
 pem^33.0.5up to date
 time^0.30.3.39up to date
 cfg-if^11.0.0up to date
 portable-atomic^1.61.11.0up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 tokio-test^0.40.4.4up to date
 env_logger^0.11.30.11.7up to date

Crate hub

Dependencies

(5 total, 1 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 rcgen^0.130.13.2up to date
 rustls ⚠️^0.23.100.23.23maybe insecure
 rustls-pemfile^22.2.0up to date
 thiserror^12.0.12out of date

Crate signal

Dependencies

(5 total, 1 outdated)

CrateRequiredLatestStatus
 tokio^1.32.01.44.0up to date
 anyhow^11.0.97up to date
 base64^0.22.10.22.1up to date
 lazy_static^11.5.0up to date
 hyper^0.14.271.6.0out of 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.

openssl: ssl::select_next_proto use after free

RUSTSEC-2025-0004

In openssl versions before 0.10.70, ssl::select_next_proto can return a slice pointing into the server argument's buffer but with a lifetime bound to the client argument. In situations where the server buffer's lifetime is shorter than the client buffer's, this can cause a use after free. This could cause the server to crash or to return arbitrary memory contents to the client.

openssl 0.10.70 fixes the signature of ssl::select_next_proto to properly constrain the output buffer's lifetime to that of both input buffers.

In standard usage of ssl::select_next_proto in the callback passed to SslContextBuilder::set_alpn_select_callback, code is only affected if the server buffer is constructed within the callback. For example:

Not vulnerable - the server buffer has a 'static lifetime:

builder.set_alpn_select_callback(|_, client_protos| {
    ssl::select_next_proto(b"\x02h2", client_protos).ok_or_else(AlpnError::NOACK)
});

Not vulnerable - the server buffer outlives the handshake:

let server_protos = b"\x02h2".to_vec();
builder.set_alpn_select_callback(|_, client_protos| {
    ssl::select_next_proto(&server_protos, client_protos).ok_or_else(AlpnError::NOACK)
});

Vulnerable - the server buffer is freed when the callback returns:

builder.set_alpn_select_callback(|_, client_protos| {
    let server_protos = b"\x02h2".to_vec();
    ssl::select_next_proto(&server_protos, client_protos).ok_or_else(AlpnError::NOACK)
});

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.