This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate trust-dns-rustls

Dependencies

(9 total, 4 outdated, 2 insecure)

CrateRequiredLatestStatus
 futures-channel^0.3.50.3.34up to date
 futures-io^0.3.50.3.34up to date
 futures-util^0.3.50.3.34up to date
 log^0.40.4.34up to date
 rustls ⚠️^0.190.23.45insecure
 tokio^1.01.53.1up to date
 tokio-rustls^0.220.26.5out of date
 trust-dns-proto^0.20.30.23.2out of date
 webpki ⚠️^0.210.22.4insecure

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 openssl^0.100.10.81up to date

Security Vulnerabilities

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.