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

Crate candy

Dependencies

(15 total, 1 insecure)

CrateRequiredLatestStatus
 tokio^11.53.3up to date
 http^11.5.0up to date
 bytes^11.12.1up to date
 hpack ⚠️^0.30.3.0insecure
 rustls^0.230.23.46up to date
 rustls-pemfile^22.2.0up to date
 tokio-rustls^0.260.26.6up to date
 toml^11.1.8+spec-1.1.0up to date
 serde^11.0.229up to date
 nix^0.310.31.3up to date
 libc^0.20.2.191up to date
 thiserror^22.0.21up to date
 flate2^11.1.10up to date
 chrono^0.40.4.45up to date
 ctrlc^33.5.2up to date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 criterion^0.80.8.2up to date
 tempfile^33.27.0up to date

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 loona-hpack or httlib-huffman as an alternative.

Version 0.3.1 of fluke-hpack still reproduces the panic described in this advisory.