Integer Overflow in Chunked Transfer-Encoding
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| hyperium | hyper | before 0.14.10 | 0.14.10 | Patch available | CNA |
| — | hyper (crates.io) | before 0.14.10 | 0.14.10 | Patch available | GHSA-5h46-h7hh-c6x9 |
- hyper Vendorhyperium Affected before 0.14.10 Fixed in 0.14.10 Patch available CNA
- hyper (crates.io) Vendor— Affected before 0.14.10 Fixed in 0.14.10 Patch available GHSA-5h46-h7hh-c6x9
Remediation
- Fix · CNA hyper (hyperium) Fixed in 0.14.10
- Fix · GHSA-5h46-h7hh-c6x9 hyper (crates.io) Fixed in 0.14.10 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32714
- 2026-10-03 Alias added: GHSA-5h46-h7hh-c6x9
References
More hyperium Hyper vulnerabilities
- TI-2023-11846 An issue was discovered in hyper v0.13.7. CVSS 3.1HIGH 7.5
- TI-2022-13369 Hyperium Hyper before 0.14.19 does not allow for customization of the… CVSS 3.1HIGH 7.5
- TI-2020-18306 An issue was discovered in the hyper crate before 0.12.34 for Rust. CVSS 3.1CRITICAL 9.8
- TI-2021-04399 Multiple Transfer-Encoding headers misinterprets request payload CVSS 3.1HIGH 8.1
- TI-2021-12383 Lenient Parsing of Content-Length Header When Prefixed with Plus Sign CVSS 3.1MEDIUM 5.3
- TI-2017-13760 An issue was discovered in the hyper crate before 0.9.18 for Rust. CVSS 3.0MEDIUM 5.3
Sources
- CVE-2021-32714 · CVE Program
- CVE-2021-32714 · NVD
- FIRST EPSS
- GHSA-5h46-h7hh-c6x9 · GitHub Advisory Database · CC BY 4.0
- CVE-2021-32714 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences