# CVE-2021-32715: Lenient Parsing of Content-Length Header When Prefixed with Plus Sign

- Priority: **Routine**
- Reason: Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-07-07 · Modified: 2024-08-03
- Aliases: UBUNTU-CVE-2021-32715, DEBIAN-CVE-2021-32715, CGA-p26m-r5m2-gw33, GHSA-f3pg-qwvg-p99c, RUSTSEC-2021-0078, CGA-rv9p-9mq6-fg8f
- Record: https://cvemate.com/vulnerability/CVE-2021-32715 · JSON: https://cvemate.com/vulnerability/CVE-2021-32715/json

## Description

```text
hyper is an HTTP library for rust. hyper's HTTP/1 server code had a flaw that incorrectly parses and accepts requests with a `Content-Length` header with a prefixed plus sign, when it should have been rejected as illegal. This combined with an upstream HTTP proxy that doesn't parse such `Content-Length` headers, but forwards them, can result in "request smuggling" or "desync attacks". The flaw exists in all prior versions of hyper prior to 0.14.10, if built with `rustc` v1.5.0 or newer. The vulnerability is patched in hyper version 0.14.10. Two workarounds exist: One may reject requests manually that contain a plus sign prefix in the `Content-Length` header or ensure any upstream proxy handles `Content-Length` headers with a plus sign prefix.
```

## Signals

- CVSS: 5.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 1.126%, percentile 67.435%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard chaos-tproxy (Chainguard): \< 0.5.4-r2
- Crates.Io hyper (Crates.Io): \< 0.14.10 \| ≥ 0.0.0-0, \< 0.14.10
- debian rust-hyper (Debian): \< 0.14.19-1
- ubuntu rust-hyper (Ubuntu): All versions (No fix recorded)
- hyper hyper: \< 0.14.10
- hyperium hyper: \< 0.14.10

## References

- <https://github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99c>
- <https://github.com/rust-lang/rust/pull/28826/commits/123a83326fb95366e94a3be1a74775df4db97739>
- <https://ubuntu.com/security/CVE-2021-32715>
- <https://rustsec.org/advisories/RUSTSEC-2021-0078.html>
- <https://www.cve.org/CVERecord?id=CVE-2021-32715>
- <https://security-tracker.debian.org/tracker/CVE-2021-32715>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32715>
- <https://github.com/hyperium/hyper/commit/1fb719e0b61a4f3d911562a436a2ff05fd7cb759>
- <https://github.com/hyperium/hyper>
- <https://crates.io/crates/hyper>

---

Data as of 2026-12-05T18:19:20.000Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
