Files
advisory-db/packages/conduit-hyper.json
T
2025-10-27 16:49:06 +00:00

75 lines
2.1 KiB
JSON

[
{
"id": "RUSTSEC-2022-0066",
"modified": "2022-11-02T22:38:38Z",
"published": "2022-10-30T12:00:00Z",
"aliases": [
"GHSA-9398-5ghf-7pr6",
"CVE-2022-39294"
],
"related": [],
"summary": "Denial of Service from unchecked request length",
"details": "Prior to version 0.4.2, `conduit-hyper` did not check any limit on a request's\nlength before calling `hyper::body::to_bytes`. An attacker could send a\nmalicious request with an abnormally large `Content-Length`, which could lead\nto a panic if memory allocation failed for that request.\n\nIn version 0.4.2, `conduit-hyper` sets an internal limit of 128 MiB per\nrequest, otherwise returning status 400 (\"Bad Request\").",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "conduit-hyper",
"purl": "pkg:cargo/conduit-hyper"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"denial-of-service"
],
"cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.2.0-alpha.3"
},
{
"fixed": "0.4.2"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/conduit-hyper"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2022-0066.html"
},
{
"type": "ADVISORY",
"url": "https://github.com/conduit-rust/conduit-hyper/security/advisories/GHSA-9398-5ghf-7pr6"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]