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 mio_httpc

Dependencies

(26 total, 14 outdated, 4 possibly insecure)

CrateRequiredLatestStatus
 byteorder^11.5.0up to date
 core-foundation^0.60.9.4out of date
 core-foundation-sys^0.60.8.6out of date
 crypto-hash^0.3.10.3.4up to date
 data-encoding^2.12.5.0up to date
 failure^0.10.1.8up to date
 fxhash^0.20.2.1up to date
 httparse^11.8.0up to date
 itoa^0.41.0.11out of date
 libc^0.20.2.153up to date
 libflate^0.12.0.0out of date
 md5^0.60.7.0out of date
 mio^0.60.8.11out of date
 native-tls^0.20.2.11up to date
 openssl ⚠️0.10.*0.10.64maybe insecure
 percent-encoding^12.3.1out of date
 pest^22.7.9up to date
 pest_derive^22.7.9up to date
 rand^0.60.8.5out of date
 ring^0.140.17.8out of date
 rustls ⚠️^0.15.10.23.5out of date
 slab^0.40.4.9up to date
 smallvec ⚠️^0.61.13.2out of date
 url^12.5.0out of date
 webpki ⚠️^0.190.22.4out of date
 webpki-roots^0.160.26.1out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 matches^0.10.1.10up to date

Security Vulnerabilities

smallvec: Buffer overflow in SmallVec::insert_many

RUSTSEC-2021-0003

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.

openssl: `openssl` `X509VerifyParamRef::set_host` buffer over-read

RUSTSEC-2023-0044

When this function was passed an empty string, openssl would attempt to call strlen on it, reading arbitrary memory until it reached a NUL byte.

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.