Denial of Service from unchecked request length
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").
- Products
- conduit-hyper
- Affected versions
- Not specified
- Fixed versions
- 0.4.2
- CVEs
- CVE-2022-39294
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 08:42 UTC · Revision 1
Source evidence
Denial of Service from unchecked request length
core-osv · Original sourcePublished 30 Oct 2022, 12:00 UTC
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").
osv:RUSTSEC-2022-0066
conduit-hyper
Fixed versions: 0.4.2
Complete source record
{
"id": "c2b3ccd8900c29d5a737872f70fe775ea64c0116a54bbcfc865120d6d4b776af",
"url": "https://osv.dev/vulnerability/RUSTSEC-2022-0066",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Denial of Service from unchecked request length",
"summary": "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\").",
"evidence": "osv:RUSTSEC-2022-0066",
"products": [
{
"name": {
"value": "conduit-hyper",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.4.2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "RUSTSEC-2022-0066",
"aliases": [
"CVE-2022-39294",
"GHSA-9398-5ghf-7pr6",
"RUSTSEC-2022-0066"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.2.0-alpha.3"
},
{
"fixed": "0.4.2"
}
]
}
],
"package": {
"name": "conduit-hyper",
"purl": "pkg:cargo/conduit-hyper",
"ecosystem": "crates.io"
},
"database_specific": {
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"source": "https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0066.json",
"categories": [
"denial-of-service"
],
"informational": null
},
"ecosystem_specific": {
"affects": {
"os": [],
"arch": [],
"functions": []
},
"affected_functions": null
}
}
],
"modified": "2026-10-12T18:00:05.116359517Z",
"provider": "osv",
"references": [
"https://crates.io/crates/conduit-hyper",
"https://rustsec.org/advisories/RUSTSEC-2022-0066.html",
"https://github.com/conduit-rust/conduit-hyper/commit/4d225a53206505d39438ec6694e15f49c038baff"
],
"provider_metadata": {
"license": "CC0-1.0"
}
},
"related_cves": [
{
"value": "CVE-2022-39294",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 306350,
"published_at": "2022-10-30T12:00:00+00:00"
}