CVE-2022-39294 json
(DoS) Denial of Service from unchecked request length in conduit-hyper
published 2022-10-30 4 y ago modified 2026-10-12 27 d ago also GHSA-9398-5ghf-7pr6 , RUSTSEC-2022-0066 , EUVD-2022-7059
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 57%
- public exploits
- 0
- none known
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.
Patch / fix
- crates.io conduit-hyper 0.4.2
- conduit-hyper_project conduit-hyper 0.4.2
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.81% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | conduit-hyper | >=0.2.0-alpha.3, <0.4.2 |
0.4.2 |
Affected products
- conduit-rust conduit-hyper
Classification
References
-
github.com
/conduit-rust/conduit-hyper/commit/4d225a53206505d39438ec6694e15f49c038baff
web
-
github.com
/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-39294
advisory
-
github.com
/conduit-rust/conduit-hyper
package
-
rustsec.org
/advisories/RUSTSEC-2022-0066.html
web, advisory
-
crates.io
/crates/conduit-hyper
package
Sources
- CVE List CVE-2022-39294
- GitHub Advisory GHSA-9398-5ghf-7pr6
- NVD CVE-2022-39294
- OSV RUSTSEC-2022-0066
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.