CVE-2022-39294
HIGH 7.5CVSS 3.1conduit-hyper vulnerable to Denial of Service from unchecked request length
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. 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, 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.
- Published
- 31 Oct 2022
- Last modified
- 12 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1284CWE-400
- Also known as
- GHSA-9398-5ghf-7pr6RUSTSEC-2022-0066
- Sources
- NVDJSONOSV GHSA-9398-5ghf-7pr6JSONOSV RUSTSEC-2022-0066JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | conduit-hyper_project | conduit-hypercpe:2.3:a:conduit-hyper_project:conduit-hyper:*:*:*:*:*:rust:*:* |
> 0.2.0, < 0.4.2 | 0.4.2 |
| NVD | conduit-hyper_project | conduit-hypercpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:-:*:*:*:rust:*:* |
= 0.2.0 | |
| NVD | conduit-hyper_project | conduit-hypercpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha3:*:*:*:rust:*:* |
= 0.2.0 | |
| NVD | conduit-hyper_project | conduit-hypercpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha4:*:*:*:rust:*:* |
= 0.2.0 | |
| OSV | crates.io | conduit-hyper | >= 0.2.0-alpha.3, < 0.4.2 | 0.4.2 |
References
- https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39294 · ADVISORY
- https://github.com/conduit-rust/conduit-hyper/commit/4d225a53206505d39438ec6694e15f49c038baff · WEB
- https://github.com/conduit-rust/conduit-hyper · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0066.html · WEB, ADVISORY
- https://crates.io/crates/conduit-hyper · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 31 Oct 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Oct 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Oct 2022)