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

Crate solicit

Dependencies

(3 total, 2 outdated, 1 insecure, 1 possibly insecure)

CrateRequiredLatestStatus
 hpack ⚠️^0.20.3.0insecure
 log^0.30.4.22out of date
 openssl ⚠️*0.10.68maybe insecure

Security Vulnerabilities

hpack: HPACK decoder panics on invalid input

RUSTSEC-2023-0085

Due to insufficient checking of input data, decoding certain data sequences can lead to Decoder::decode panicking rather than returning an error.

Example code that triggers this vulnerability looks like this:

use hpack::Decoder;

pub fn main() {
  let input = &[0x3f];
  let mut decoder = Decoder::new();
  let _ = decoder.decode(input);
}

hpack is unmaintained. A crate with the panics fixed has been published as hpack-patched.

Also consider using fluke-hpack or httlib-huffman as an alternative.

openssl: `MemBio::get_buf` has undefined behavior with empty buffers

RUSTSEC-2024-0357

Previously, MemBio::get_buf called slice::from_raw_parts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.