{"id":"RUSTSEC-2022-0066","summary":"Denial of Service from unchecked request length","details":"Prior to version 0.4.2, `conduit-hyper` did not check any limit on a request's\nlength before calling `hyper::body::to_bytes`. An attacker could send a\nmalicious request with an abnormally large `Content-Length`, which could lead\nto a panic if memory allocation failed for that request.\n\nIn version 0.4.2, `conduit-hyper` sets an internal limit of 128 MiB per\nrequest, otherwise returning status 400 (\"Bad Request\").","aliases":["CVE-2022-39294","GHSA-9398-5ghf-7pr6"],"modified":"2026-10-12T18:00:05.116359517Z","published":"2022-10-30T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/conduit-hyper"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2022-0066.html"},{"type":"WEB","url":"https://github.com/conduit-rust/conduit-hyper/commit/4d225a53206505d39438ec6694e15f49c038baff"}],"affected":[{"package":{"name":"conduit-hyper","ecosystem":"crates.io","purl":"pkg:cargo/conduit-hyper"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.2.0-alpha.3"},{"fixed":"0.4.2"}]}],"ecosystem_specific":{"affects":{"os":[],"functions":[],"arch":[]},"affected_functions":null},"database_specific":{"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0066.json","categories":["denial-of-service"]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}