Integer Overflow in Chunked Transfer-Encoding
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
hypercrates.io | < 0.14.10 | 0.14.10 |
Affected products
3- osv-coords2 versions
< 0.5.4-r2+ 1 more
- (no CPE)range: < 0.5.4-r2
- (no CPE)range: < 0.14.10
- hyperium/hyperv5Range: < 0.14.10
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-5h46-h7hh-c6x9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-32714ghsaADVISORY
- github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9ghsax_refsource_CONFIRMWEB
- rustsec.org/advisories/RUSTSEC-2021-0079.htmlghsaWEB
News mentions
0No linked articles in our index yet.