{"id":"CVE-2022-39294","published":"2022-10-31T00:00:00Z","modified":"2025-04-23T16:42:04Z","title":"(DoS) Denial of Service from unchecked request length in conduit-hyper","vendor":"conduit-rust","product":"conduit-hyper","tier":"tail","description":{"text":"conduit-hyper integrates a conduit application with the hyper server. Prior to version 0.4.2, `conduit-hyper` did not check any limit on a request's length before calling [`hyper::body::to_bytes`](https://docs.rs/hyper/latest/hyper/body/fn.to_bytes.html). An attacker could send a malicious request with an abnormally large `Content-Length`, which could lead to a panic if memory allocation failed for that request. In version 0.4.2, `conduit-hyper` sets an internal limit of 128 MiB per request, otherwise returning status 400 (\"Bad Request\"). This crate is part of the implementation of Rust's [crates.io](https://crates.io/), but that service is not affected due to its existing cloud infrastructure, which already drops such malicious requests. Even with the new limit in place, `conduit-hyper` is not recommended for production use, nor to directly serve the public Internet.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00833,"percentile":0.58549,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6","tags":[]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":11.71},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"conduit-rust","affectedVersions":[{"vendor":"conduit-rust","product":"conduit-hyper","versions":[">= 0.2.0-alpha.3, < 0.4.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:49:41.633353Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"conduit-hyper","vulnerableRanges":[">=0.2.0-alpha.3, <0.4.2"],"patched":["0.4.2"],"from":["GHSA-9398-5ghf-7pr6","RUSTSEC-2022-0066"],"provenance":"source"}],"summary":{"text":"The conduit-hyper crate, which integrates the conduit application framework with the hyper HTTP server, did not check request length before reading the request body, so an oversized request could cause a panic when memory allocation failed. An unauthenticated remote attacker can trigger this by sending a single request with an abnormally large Content-Length, with no user interaction or special configuration required; versions prior to 0.4.2 are affected, and 0.4.2 caps each request at 128 MiB.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:13:58Z"},"euvd":{"id":"EUVD-2022-7059","exploited":false,"provenance":"source"}}