CVE-2021-32714: hyper Integer Overflow or Wraparound
Vulnerability summary
CVE-2021-32714 is a critical (CVSS 9.1) Integer Overflow or Wraparound vulnerability in hyper. EPSS estimates a 1.16% chance of exploitation in the next 30 days, higher than 66.5% 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. In versions prior to 0.14.10, hyper's HTTP server and client code had a flaw that could trigger an integer overflow when decoding chunk sizes that are too big. This allows possible data loss, or if combined with an upstream HTTP proxy that allows chunk sizes larger than hyper does, can result in "request smuggling" or "desync attacks." The vulnerability is patched in version 0.14.10. Two possible workarounds exist. One may reject requests manually that contain a `Transfer-Encoding` header or ensure any upstream proxy rejects `Transfer-Encoding` chunk sizes greater than what fits in 64-bit unsigned integers.
CVSS metrics
7 scores · 6 sources · 2 versions- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- OSV · Crates.ioEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS trend
Probability
1.16%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
+0.02 pp
From 1.13% 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
9 links- github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9X Refsource CONFIRMREPORTEVIDENCEWEBExploitThird Party Advisory
- github.com/hyperium/hyperPACKAGE
- crates.io/crates/hyperPACKAGE