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, 13 outdated, 5 possibly insecure)

CrateRequiredLatestStatus
 byteorder^11.5.0up to date
 core-foundation^0.60.10.1out of date
 core-foundation-sys^0.60.8.7out of date
 crypto-hash^0.3.30.3.4up to date
 data-encoding^2.12.9.0up to date
 failure^0.10.1.8up to date
 fxhash^0.20.2.1up to date
 httparse^11.10.1up to date
 ipconfig^0.10.3.2out of date
 itoa^0.41.0.15out of date
 libflate^0.12.1.0out of date
 md5^0.60.8.0out of date
 mio^0.61.0.4out of date
 native-tls^0.20.2.14up to date
 openssl ⚠️0.10.*0.10.73maybe insecure
 percent-encoding^22.3.1up to date
 pest^22.8.1up to date
 pest_derive^22.8.1up to date
 rand^0.70.9.1out of date
 ring ⚠️^0.16.50.17.14out of date
 rustls ⚠️^0.16.00.23.28out of date
 slab^0.40.4.10up to date
 smallvec ⚠️^0.61.15.1out of date
 url^22.5.4up to date
 webpki ⚠️^0.210.22.4out of date
 webpki-roots^0.171.0.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.

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.

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.

openssl: Use-After-Free in `Md::fetch` and `Cipher::fetch`

RUSTSEC-2025-0022

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.