CVE-2021-32715: hyper HTTP Request/Response Smuggling
Vulnerability summary
CVE-2021-32715 is a medium (CVSS 5.3) HTTP Request/Response Smuggling vulnerability in hyper. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 65.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 07-07-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
hyper is an HTTP library for rust. hyper's HTTP/1 server code had a flaw that incorrectly parses and accepts requests with a `Content-Length` header with a prefixed plus sign, when it should have been rejected as illegal. This combined with an upstream HTTP proxy that doesn't parse such `Content-Length` headers, but forwards them, can result in "request smuggling" or "desync attacks". The flaw exists in all prior versions of hyper prior to 0.14.10, if built with `rustc` v1.5.0 or newer. The vulnerability is patched in hyper version 0.14.10. Two workarounds exist: One may reject requests manually that contain a plus sign prefix in the `Content-Length` header or ensure any upstream proxy handles `Content-Length` headers with a plus sign prefix.
CVSS metrics
7 scores · 6 sources · 2 versions- CVE.orgCNA3.1LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · Crates.ioEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.13%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
+0.15 pp
From 0.97% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundHyper
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- chaos-tproxy< 0.5.4-r2
Crates.Io1 product
- hyper< 0.14.10 | ≥ 0.0.0-0, < 0.14.10
Debian1 product
- rust-hyper< 0.14.19-1
Hyper1 product
- hyper< 0.14.10
Hyperium1 product
- hyper< 0.14.10
Ubuntu1 product
- rust-hyperAll versions (No fix recorded)
6 vendors · 6 products
References
10 links- github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99cX Refsource CONFIRMREPORTEVIDENCEWEBExploitThird Party Advisory
- github.com/rust-lang/rust/pull/28826/commits/123a83326fb95366e94a3be1a74775df4db97739X Refsource MISCREPORTFIXWEBPatchThird Party Advisory
- github.com/hyperium/hyperPACKAGE
- crates.io/crates/hyperPACKAGE