{"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":"2023-11-08T04:10:17.959579Z","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":"ADVISORY","url":"https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6"}],"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":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["denial-of-service"],"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"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}