{"cve":"CVE-2022-39294","nvd":{"published":"2022-10-31T19:15:10.593","modified":"2026-06-17T04:58:05.317","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1284","CWE-400"],"references":["https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6","https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6"],"products":["conduit-hyper_project:conduit-hyper"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-39294","score":0.00814,"percentile":0.57041,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9398-5ghf-7pr6","url":"https://osv.dev/vulnerability/GHSA-9398-5ghf-7pr6","summary":"conduit-hyper vulnerable to Denial of Service from unchecked request length","modified":"2023-11-08T04:10:17.959579Z","packages":[{"ecosystem":"crates.io","name":"conduit-hyper","purl":"pkg:cargo/conduit-hyper","ranges":[">=0.2.0-alpha.3 <0.4.2"],"fixed":["0.4.2"]}]},{"id":"RUSTSEC-2022-0066","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0066","summary":"Denial of Service from unchecked request length","modified":"2026-10-12T18:00:05.116359517Z","packages":[{"ecosystem":"crates.io","name":"conduit-hyper","purl":"pkg:cargo/conduit-hyper","ranges":[">=0.2.0-alpha.3 <0.4.2"],"fixed":["0.4.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}