vulnerability
Ubuntu: (CVE-2021-32714): rust-hyper vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:N/AC:L/Au:N/C:N/I:P/A:P) | Jul 7, 2021 | Jun 26, 2025 | Mar 27, 2026 |
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.
Solution
References
- CVE-2021-32714
- https://attackerkb.com/topics/CVE-2021-32714
- CWE-190
- EUVD-EUVD-2021-1440
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1440
- https://github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9
- https://rustsec.org/advisories/RUSTSEC-2021-0079.html
- https://www.cve.org/CVERecord?id=CVE-2021-32714
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.