---
id: CVE-2021-32715
aliases:
  - RUSTSEC-2021-0078
  - GHSA-f3pg-qwvg-p99c
title: >-
  Lenient `hyper` header parsing of `Content-Length` could allow request
  smuggling
summary: >-
  Lenient `hyper` header parsing of `Content-Length` could allow request
  smuggling
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
vendor: hyper
product: hyper
ecosystem: rust
affected:
  - 'hyper >= 0.0.0-0, < 0.14.10'
patched:
  - hyper 0.14.10
published: '2021-07-07'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T18:00:03.463487342Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/RUSTSEC-2021-0078'
references:
  - url: 'https://crates.io/crates/hyper'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2021-0078.html'
  - url: >-
      https://github.com/hyperium/hyper/commit/1fb719e0b61a4f3d911562a436a2ff05fd7cb759
  - url: 'https://github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99c'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-32715'
  - url: >-
      https://github.com/rust-lang/rust/pull/28826/commits/123a83326fb95366e94a3be1a74775df4db97739
  - url: 'https://github.com/hyperium/hyper'
tags:
  - osv
  - rust
epss: 0.01126
epssPercentile: 0.66131
ingestedAt: '2026-07-09T18:56:37.300Z'
---

## Overview

`hyper`'s HTTP header parser accepted, according to RFC 7230, illegal contents inside `Content-Length` headers.
Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error.

To be vulnerable, `hyper` must be used as an HTTP/1 server and using an HTTP proxy upstream that ignores the header's contents
but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerability is unlikely.

## Affected packages

- `hyper >= 0.0.0-0, < 0.14.10`

## Remediation

Upgrade to a patched release:

- `hyper 0.14.10`
