{"id":"CVE-2022-39294","revision":"82fadead0e2d439cb6a7d3e2b33c622e","records":[{"revision":"82fadead0e2d439cb6a7d3e2b33c622e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2022-39294","aliases":[],"title":"(DoS) Denial of Service from unchecked request length in conduit-hyper","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.","state":0,"publishedAt":"2022-10-31T00:00:00+00:00","modifiedAt":"2025-04-23T16:42:04.247+00:00","affected":[{"ecosystem":"Vendor product","name":"conduit-hyper","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"conduit-rust\",\n                    \"product\": \"conduit-hyper\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.2.0-alpha.3, < 0.4.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"HIGH"}],"references":["https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-39294","license":"CVE Program Terms of Use","key":"cve-program:CVE-2022-39294","identifiers":["CVE-2022-39294"]},"retained":false,"historicalAffected":[]}],"coverage":[]}