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

(33 total, 17 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 aes^0.6.00.8.4out of date
 aes-gcm^0.10.10.10.3up to date
 async-trait^0.1.560.1.80up to date
 bincode^1.31.3.3up to date
 block-modes^0.7.00.9.1out of date
 byteorder^11.5.0up to date
 ccm^0.3.00.5.0out of date
 curve25519-dalek^3.24.1.2out of date
 der-parser^8.19.0.0out of date
 elliptic-curve^0.12.10.13.8out of date
 hkdf~0.12.10.12.4up to date
 hmac^0.12.10.12.1up to date
 log^0.4.160.4.21up to date
 p256^0.11.10.13.2out of date
 p384^0.11.20.13.0out of date
 pem^13.0.4out of date
 rand^0.8.50.8.5up to date
 rand_core^0.6.30.6.4up to date
 rcgen^0.10.00.13.1out of date
 ring^0.16.190.17.8out of date
 rustls ⚠️^0.19.00.23.5out of date
 sec1^0.3.00.7.3out of date
 serde^1.0.1101.0.199up to date
 sha1^0.10.50.10.6up to date
 sha2^0.10.60.10.8up to date
 signature^1.2.22.2.0out of date
 subtle^2.42.5.0up to date
 thiserror^1.01.0.59up to date
 tokio ⚠️^1.191.37.0maybe insecure
 webrtc-util^0.7.00.8.1out of date
 webpki ⚠️^0.21.40.22.4out of date
 x25519-dalek^2.0.0-rc.22.0.1up to date
 x509-parser^0.13.20.16.0out of date

Dev dependencies

(4 total, 2 outdated)

CrateRequiredLatestStatus
 chrono^0.4.230.4.38up to date
 clap^3.2.64.5.4out of date
 env_logger^0.9.00.11.3out of date
 tokio-test^0.4.00.4.4up to date

Security Vulnerabilities

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

webpki: webpki: CPU denial of service in certificate path building

RUSTSEC-2023-0052

When this crate is given a pathological certificate chain to validate, it will spend CPU time exponential with the number of candidate certificates at each step of path building.

Both TLS clients and TLS servers that accept client certificate are affected.

This was previously reported in https://github.com/briansmith/webpki/issues/69 and re-reported recently by Luke Malinowski.

webpki 0.22.1 included a partial fix and webpki 0.22.2 added further fixes.

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.