CVE-2022-39294
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.
Weakness
- CWE-400: Uncontrolled Resource Consumption
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-04-23 |
Timeline
- 2022-10-31Published by the CNA00:00 UTC
- 2022-10-31GitHub advisory published (GHSA-9398-5ghf-7pr6)same day
- 2025-04-23CISA SSVC decision recorded905 days after publication
Exploit and advisory records
GitHub advisory GHSA-9398-5ghf-7pr6, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| crates.io conduit-hyper | from 0.2.0-alpha.3 before 0.4.2 | 0.4.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| conduit-hyper_project conduit-hyper | after 0.2.0 before 0.4.2fixed in 0.4.20.2.0no fix listed | 0.4.2not listed |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-39294'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-39294'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-39294'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-39294'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).