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 futures-rustls


(2 total, 1 outdated, 1 possibly insecure)

 futures-io^ to date
 rustls ⚠️^ of date

Dev dependencies

(6 total, 4 outdated, 1 possibly insecure)

 futures-util^ to date
 lazy_static^11.4.0up to date
 rustls-pemfile^12.1.2out of date
 smol^12.0.0out of date
 rustls-webpki ⚠️^0.1000.102.4out of date
 webpki-roots^ of date

Security Vulnerabilities

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


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.

We now give each path building operation a budget of 100 signature verifications.

The original webpki crate is also affected.

This was previously reported in the original crate and re-reported to us recently by Luke Malinowski.

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


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.