Live threats

All CVEs / Conduit-hyper Project

CVE-2022-39294Conduit-hyper Project Conduit-hyper

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Oct 31, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-1284
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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`](https://docs.rs/hyper/latest/hyper/body/fn.to_bytes.html). 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](https://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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Conduit-hyper.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io conduit-hyper ≥ 0.2.0-alpha.3 < 0.4.2 0.4.2 cargo update -p conduit-hyper --precise 0.4.2
crates.io conduit-hyper ≥ 0.2.0-alpha.3 < 0.4.2 0.4.2 cargo update -p conduit-hyper --precise 0.4.2

Per OSV / GitHub Advisories (GHSA-9398-5ghf-7pr6, RUSTSEC-2022-0066). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
conduit-hyper_projectconduit-hyper> 0.2.0 < 0.4.2
conduit-hyper_projectconduit-hyper0.2.0
conduit-hyper_projectconduit-hyper0.2.0
conduit-hyper_projectconduit-hyper0.2.0

Official sources

References

Links published by the sources. Open them with care.