Medium severity · published Jul 7, 2021
CVE-2021-32715
hyper is an HTTP library for rust
5.3
CVSS
1.1%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HY
Hyper · Hyper
before 0.14.10 · source: NVD
Affected product
HY
Hyper
Hyper
More from Hyper
9.8
CVE-2024-23741
An issue in Hyper on macOS version 3.4.1 and before, allows remote attackers to execute arbitrary code via the RunAsNode and enableNodeClilnspectArguments settings
9.8
CVE-2020-35863
An issue was discovered in the hyper crate before 0.12.34 for Rust
9.1
CVE-2021-32714
hyper is an HTTP library for Rust
8.1
CVE-2021-21299
hyper is an open-source HTTP library for Rust (crates.io)
7.5
CVE-2023-26964
An issue was discovered in hyper v0.13.7