CVE-2021-32714
Rust vulnerability analysis and mitigation

Overview

hyper is an HTTP library for Rust. In versions prior to 0.14.10, hyper's HTTP server and client code contained a vulnerability that could trigger an integer overflow when decoding chunk sizes that are too big. The vulnerability was discovered in July 2021 and assigned CVE-2021-32714 (GitHub Advisory).

Technical details

The vulnerability occurs in HTTP/1.1 chunked transfer-encoding handling where hyper only reads the rightmost 64-bit integer as the chunk size. For example, in a chunk size like 'f0000000000000003', hyper would only read it as '3'. This limitation can lead to data loss since hyper would only read 3 bytes of the body instead of the full intended size. The issue is classified as CWE-190 (Integer Overflow) (GitHub Advisory).

Impact

The vulnerability can result in two types of impacts: 1) Data loss when processing bodies with chunk sizes greater than 18 exabytes, and 2) Potential request smuggling or 'desync attacks' when used with an upstream HTTP proxy that allows chunk sizes larger than hyper does. The vulnerability only affects HTTP/1.1 implementations, as HTTP/2 does not use chunked encoding (GitHub Advisory).

Exploitability

To exploit this vulnerability, an attacker needs to either: 1) Send requests or responses with chunk sizes greater than 18 exabytes to cause data loss, or 2) Use an upstream proxy that allows chunk sizes larger than 64-bit to perform request smuggling attacks. The vulnerability was initially reported by Mattias Grenfeldt and Asta Olofsson (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 0.14.10 of hyper. For users unable to upgrade, two workarounds are available: 1) Manually reject requests containing a Transfer-Encoding header, or 2) Ensure any upstream proxy rejects Transfer-Encoding chunk sizes greater than what fits in 64-bit unsigned integers (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-53530HIGH8.7
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
CVE-2026-53531MEDIUM6.9
  • Rust logoRust
  • ratex-parser
NoYesAug 21, 2026
GHSA-mc9m-6fm9-pghcMEDIUM6.9
  • Python logoPython
  • zoo-kcl
NoYesAug 20, 2026
GHSA-jgvr-6x5w-hx5wMEDIUM6.9
  • Python logoPython
  • kcl-lib
NoYesAug 20, 2026
CVE-2026-54136MEDIUM5.1
  • Rust logoRust
  • windmill-api
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management