CVE-2022-39294
(DoS) Denial of Service from unchecked request length in conduit-hyper
Also known as GHSA-9398-5ghf-7pr6, RUSTSEC-2022-0066
Mitigation
- Upgrade conduit-hyper to 0.4.2 or later.
Who should check
- Projects that depend on crates.io package conduit-hyper (>= 0.2.0-alpha.3, < 0.4.2)
- Anyone running conduit-rust conduit-hyper >= 0.2.0-alpha.3, < 0.4.2
Vulnerability facts
- Affected
- conduit-hyper >= 0.2.0-alpha.3, < 0.4.2
- Fixed in
- 0.4.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.92% chance of exploitation in 30 days (percentile 59, 2026-11-26)
- CWE
- CWE-400
- 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io conduit-hyper | >= 0.2.0-alpha.3, < 0.4.2 | 0.4.2 | osv |
| conduit-rust conduit-hyper | >= 0.2.0-alpha.3, < 0.4.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-39294. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-39294.md Affected: conduit-hyper >= 0.2.0-alpha.3, < 0.4.2 Fixed in: 0.4.2 Steps: 1. Search this machine and project for conduit-hyper (crates.io), conduit-rust conduit-hyper: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2022-39294 being exploited?
There is no confirmed exploitation: CVE-2022-39294 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-39294?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-39294?
conduit-hyper >= 0.2.0-alpha.3, < 0.4.2.
Is there a fix for CVE-2022-39294?
Yes. Fixed in 0.4.2. Upgrade conduit-hyper to 0.4.2 or later.
How do I check if I'm affected by CVE-2022-39294?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.