5.3

CVE-2021-32715: hyper HTTP Request/Response Smuggling

CVSS: 5.3v3.1MediumModified
AliasesUBUNTU-CVE-2021-32715DEBIAN-CVE-2021-32715CGA-p26m-r5m2-gw33
Published 07-07-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32715 is a medium (CVSS 5.3) HTTP Request/Response Smuggling vulnerability in hyper. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 65.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
1.13%
0%100%
Low · +0.15 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 07-07-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

1.13%

Chance of exploitation in the next 30 days

Percentile

66%

Versus all other CVEs

30-day change

+0.15 pp

From 0.97% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.13%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Hyper

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • chaos-tproxy< 0.5.4-r2
Crates.Io1 product
  • hyper< 0.14.10 | ≥ 0.0.0-0, < 0.14.10
Debian1 product
  • rust-hyper< 0.14.19-1
Hyper1 product
Hyperium1 product
Ubuntu1 product
  • rust-hyperAll versions (No fix recorded)

6 vendors · 6 products

References

10 links