CVE-2021-32714

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:hyper:hyper:*:*:*:*:*:rust:*:*

History

22 Jul 2021, 12:40

Type Values Removed Values Added
References (CONFIRM) https://github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9 - (CONFIRM) https://github.com/hyperium/hyper/security/advisories/GHSA-5h46-h7hh-c6x9 - Exploit, Third Party Advisory
CPE cpe:2.3:a:hyper:hyper:*:*:*:*:*:rust:*:*
CWE CWE-190
CVSS v2 : unknown
v3 : unknown
v2 : 6.4
v3 : 9.1

07 Jul 2021, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-07-07 20:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-32714

Mitre link : CVE-2021-32714

CVE.ORG link : CVE-2021-32714


JSON object : View

Products Affected

hyper

  • hyper
CWE
CWE-190

Integer Overflow or Wraparound