LiveActive security incident?Get immediate response
CVE Record

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

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.

LowCVSS 3.1Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

This flaw affects Rust services using vulnerable hyper HTTP/1 server code. It can let mismatched proxy and backend parsing create request smuggling conditions. The business risk is usually limited, but internet-facing services behind proxies should be checked because desync issues can bypass routing assumptions.

Executive priority

Treat this as a targeted remediation item, not an emergency. Prioritize externally reachable Rust services behind HTTP proxies, then address internal services during normal dependency maintenance.

Technical view

hyper versions before 0.14.10 accepted an illegal plus-prefixed Content-Length value. If an upstream proxy did not parse that header but still forwarded it, hyper could interpret the request differently, enabling HTTP request smuggling or desync behavior. The issue applies when built with rustc 1.5.0 or newer.

Likely exposure

Exposure is most likely in Rust applications using hyper before 0.14.10 as an HTTP/1 server, especially when deployed behind an upstream HTTP proxy. Direct exposure without a parsing mismatch is less clear from the sources.

Exploitation context

The source bundle does not show CISA KEV listing or cited active exploitation. Exploitation depends on a specific proxy-to-backend parsing mismatch, which raises practical complexity and limits broad urgency.

Researcher notes

This is a CWE-444 HTTP parsing inconsistency issue. The key condition is disagreement between the upstream proxy and hyper about an illegal Content-Length form. Evidence supports patch availability and workarounds, but not active exploitation.

Mitigation direction

  • Upgrade hyper to version 0.14.10 or later.
  • Reject requests with plus-prefixed Content-Length values before they reach hyper.
  • Ensure upstream proxies reject or consistently handle such Content-Length headers.
  • Check current vendor guidance for affected dependency branches.

Validation and detection

  • Inventory Rust services and dependency lockfiles for hyper versions before 0.14.10.
  • Confirm whether vulnerable services expose HTTP/1 server functionality.
  • Identify deployments where hyper sits behind an upstream HTTP proxy.
  • Verify proxy handling of malformed Content-Length values is consistent with backend behavior.
  • Retest dependency versions after upgrade or rebuild.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-444: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32715 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
3.1CVSS 3.1LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N1.61.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

3.1Low
CVSS 3.1 vector shape for CVE-2021-32715Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
hyperiumhyper< 0.14.10Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-444 · source CWE mapping

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.