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 hickory-resolver


(20 total, 4 outdated, 3 possibly insecure)

 cfg-if^11.0.0up to date
 futures-util^ to date
 hickory-proto^ to date
 ipconfig^ to date
 lru-cache^ to date
 once_cell^ to date
 parking_lot^ to date
 rand^ to date
 resolv-conf^ to date
 rustls ⚠️^ of date
 rustls-native-certs^ of date
 serde^ to date
 smallvec ⚠️^ insecure
 thiserror^ to date
 tokio ⚠️^ insecure
 tokio-native-tls^ to date
 tokio-openssl^ to date
 tokio-rustls^ of date
 tracing^0.1.300.1.40up to date
 webpki-roots^ of date

Dev dependencies

(3 total, 1 possibly insecure)

 futures-executor^ to date
 tokio ⚠️^ insecure
 tracing-subscriber^ to date

Security Vulnerabilities

smallvec: Buffer overflow in SmallVec::insert_many


A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.

This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.

The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.

Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.

tokio: reject_remote_clients Configuration corruption


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.


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

let mut opts = ServerOptions::new();

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.