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

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.13%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-07T12:00:00.000Z
- Modified: 2026-10-12T18:00:03.463Z
- Also known as: GHSA-f3pg-qwvg-p99c, RUSTSEC-2021-0078
- Weaknesses: CWE-444
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- hyperium hyper: < 0.14.10
- hyper (crates.io): before 0.14.10; from 0.0.0-0 before 0.14.10
- hyper hyper: before 0.14.10

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- RustSec Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99c> (exploit, third-party-advisory, web)
- <https://github.com/rust-lang/rust/pull/28826/commits/123a83326fb95366e94a3be1a74775df4db97739> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32715> (advisory)
- <https://github.com/hyperium/hyper/commit/1fb719e0b61a4f3d911562a436a2ff05fd7cb759> (web)
- <https://github.com/hyperium/hyper> (package)
- <https://rustsec.org/advisories/RUSTSEC-2021-0078.html> (advisory, web)
- <https://crates.io/crates/hyper> (package)

## Sources

- CVE List: [CVE-2021-32715](https://www.cve.org/CVERecord?id=CVE-2021-32715), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-f3pg-qwvg-p99c](https://github.com/advisories/GHSA-f3pg-qwvg-p99c), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2021-0078](https://rustsec.org/advisories/RUSTSEC-2021-0078.html), CC0-1.0, modified 2026-10-12
- NVD: [CVE-2021-32715](https://nvd.nist.gov/vuln/detail/CVE-2021-32715), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32715 · Whole record: https://cve.day/CVE-2021-32715.json · Rebuilt by cve.day 2026-11-25T22:58:02.468Z
