CVE-2021-32714

MEDIUM

hyper < 0.14.10 - Integer Overflow in Chunk Size Decoding

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9

Scores

CVSS v3 5.9
EPSS 0.0112
EPSS Percentile 62.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-190
Status published
Products (2)
crates.io/hyper 0 - 0.14.10crates.io
hyper/hyper < 0.14.10
Published Jul 07, 2021
Tracked Since Feb 18, 2026