(DoS) Denial of Service from unchecked request length in conduit-hyper
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| conduit-rust | conduit-hyper | 0.2.0-alpha.3 to before 0.4.2 | 0.4.2 | Patch available | CNA |
| — | conduit-hyper (crates.io) | 0.2.0-alpha.3 to before 0.4.2 | 0.4.2 | Patch available | GHSA-9398-5ghf-7pr6 |
- conduit-hyper Vendorconduit-rust Affected 0.2.0-alpha.3 to before 0.4.2 Fixed in 0.4.2 Patch available CNA
- conduit-hyper (crates.io) Vendor— Affected 0.2.0-alpha.3 to before 0.4.2 Fixed in 0.4.2 Patch available GHSA-9398-5ghf-7pr6
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:conduit-hyper_project:conduit-hyper:*:*:*:*:*:rust:*:* | after 0.2.0, before 0.4.2 | Vulnerable | Conduit-hyper Project |
| cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:-:*:*:*:rust:*:* | 0.2.0 | Vulnerable | Conduit-hyper Project |
| cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha3:*:*:*:rust:*:* | 0.2.0 alpha3 | Vulnerable | Conduit-hyper Project |
| cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha4:*:*:*:rust:*:* | 0.2.0 alpha4 | Vulnerable | Conduit-hyper Project |
- cpe:2.3:a:conduit-hyper_project:conduit-hyper:*:*:*:*:*:rust:*:* Versions after 0.2.0, before 0.4.2 Vulnerable ·Conduit-hyper Project
- cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:-:*:*:*:rust:*:* Versions 0.2.0 Vulnerable ·Conduit-hyper Project
- cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha3:*:*:*:rust:*:* Versions 0.2.0 alpha3 Vulnerable ·Conduit-hyper Project
- cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha4:*:*:*:rust:*:* Versions 0.2.0 alpha4 Vulnerable ·Conduit-hyper Project
Remediation
- Fix · CNA conduit-hyper (conduit-rust) Fixed in 0.4.2
- Fix · GHSA-9398-5ghf-7pr6 conduit-hyper (crates.io) Fixed in 0.4.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39294
- 2026-10-03 Alias added: GHSA-9398-5ghf-7pr6
References
Advisory 2
Sources
- CVE-2022-39294 · CVE Program
- CVE-2022-39294 · NVD
- FIRST EPSS
- GHSA-9398-5ghf-7pr6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences