Vulnerabilities / CVE-2021-32714

critical

CVE-2021-32714

hyper is an HTTP library for Rust. In versions prior to 0.14.10, hyper ...

Published Modified CWE 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
GHSA5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux. Rated lower by GHSA (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0rpm-ostree0:2024.4-1.azl3
cargo::GitHub Security Advisory Rusthyper0.14.10
chainguardchaos-tproxy0.5.4-r2
debian 12rust-hyper0.14.19-1
debian 13rust-hyper0.14.19-1
debian 14rust-hyper0.14.19-1
echorust-hyper0.14.19-1
ubuntu 20.04-ESMrust-hyperno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.