CVE-2022-39294

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-39294
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39294.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-39294
Aliases
Published
2022-10-31T00:00:00Z
Modified
2025-10-22T18:30:06.889636Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
(DoS) Denial of Service from unchecked request length in conduit-hyper
Details

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 <code>hyper::body::to_bytes</code>. 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.

Database specific
{
    "cwe_ids": [
        "CWE-400"
    ]
}
References

Affected packages

Git / github.com/conduit-rust/conduit-hyper

Affected ranges

Type
GIT
Repo
https://github.com/conduit-rust/conduit-hyper
Events

Affected versions

v0.*

v0.2.0
v0.2.0-alpha.3
v0.2.0-alpha.4
v0.3.0
v0.3.0-alpha.0
v0.3.0-alpha.1
v0.3.0-alpha.2
v0.3.0-alpha.3
v0.3.0-alpha.4
v0.3.0-alpha.5
v0.3.0-alpha.6
v0.3.0-alpha.7
v0.4.0
v0.4.1