CVEfocus › CVE database › CVE-2021-32714

CVE-2021-32714Integer Overflow in Chunked Transfer-Encoding

CVSS 5.9 MediumEPSS 1.2% (higher than 67% of CVEs)Published 2021-07-07Updated 2024-08-03Assigner: GitHub_M

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.

CWE-190

What to do

Fixed builds are available from Debian, crates.io: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
1Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04rust-hyperNot affected
vulnerable_code_not_present
Ubuntu 25.10rust-hyperNot affected
vulnerable_code_not_present
Ubuntu 24.04rust-hyperNot affected
vulnerable_code_not_present
Ubuntu 20.04rust-hyperFix pendingUBUNTU-CVE-2021-32714
Debian 14rust-hyperFixed0.14.19-1DEBIAN-CVE-2021-32714
Debian 13rust-hyperFixed0.14.19-1DEBIAN-CVE-2021-32714
Debian 12rust-hyperFixed0.14.19-1DEBIAN-CVE-2021-32714
crates.io libraryhyperFixed0.14.10GHSA-5h46-h7hh-c6x9

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.