Security mailing lists by PureSourceCode

CVE-2022-39294

HIGH 7.5CVSS 3.1

conduit-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD conduit-hyper_project conduit-hyper
cpe:2.3:a:conduit-hyper_project:conduit-hyper:*:*:*:*:*:rust:*:*
> 0.2.0, < 0.4.2 0.4.2
NVD conduit-hyper_project conduit-hyper
cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:-:*:*:*:rust:*:*
= 0.2.0
NVD conduit-hyper_project conduit-hyper
cpe:2.3:a:conduit-hyper_project:conduit-hyper:0.2.0:alpha3:*:*:*:rust:*:*
= 0.2.0
NVD conduit-hyper_project conduit-hyper
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.