# CVE-2021-32715: RUSTSEC-2021-0078 - Lenient `hyper` header parsing of `Content-Length` could allow request smuggling

Source: https://junglewise.ai/threats/cve-2021-32715-lenient-parsing-of-content-length-header-when-prefixed-with-plus  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-07-07  
License: CC BY 4.0 with a link back

CVE-2021-32715 · Severity: low · CVSS 3.1 · Published 2021-07-07

Lenient `hyper` header parsing of `Content-Length` could allow request smuggling

Technologies: [hyper (crates.io)](https://junglewise.ai/threats/technologies/hyper). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2021-32715 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-32715 being exploited in the wild.

**How severe is CVE-2021-32715?** Low severity, with a CVSS score of 3.1, published 7 July 2021.

**Which products and versions are affected?** hyper (crates.io) SEMVER:introduced=0,fixed=0.14.10, SEMVER:introduced=0.0.0-0,fixed=0.14.10.

**Is there a fix for CVE-2021-32715?** Yes. hyper (crates.io): upgrade to 0.14.10 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-32715?** Check whether you run hyper (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- hyper (crates.io): upgrade to 0.14.10 or later

  ```sh
  cargo update -p hyper
  ```


## Affected products

- hyper (crates.io) SEMVER:introduced=0,fixed=0.14.10, SEMVER:introduced=0.0.0-0,fixed=0.14.10

## Identifiers

- CVE-2021-32715
- GHSA-f3pg-qwvg-p99c
- RUSTSEC-2021-0078

## Related threats

- [Parser creates invalid uninitialized value](https://junglewise.ai/threats/parser-creates-invalid-uninitialized-value-fc2e82a9)
- [RUSTSEC-2022-0022 - Parser creates invalid uninitialized value](https://junglewise.ai/threats/rustsec-2022-0022-parser-creates-invalid-uninitialized-value-4d855480)
- [RUSTSEC-2021-0079 - Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss](https://junglewise.ai/threats/cve-2021-32714-integer-overflow-in-chunked-transfer-encoding)
- [RUSTSEC-2021-0020 - Multiple Transfer-Encoding headers misinterprets request payload](https://junglewise.ai/threats/cve-2021-21299-http-request-smuggling-in-hyper)
- [RUSTSEC-2020-0008 - Flaw in hyper allows request smuggling by sending a body in GET requests](https://junglewise.ai/threats/cve-2020-35863-http-request-smuggling-in-hyper)
