CVE-2021-32715
CVSS V2 Medium 4.3
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2021-32715
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-07-07T20:15:08
- Last Modified Date
- 2021-07-22T12:49:47
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:hyper:hyper:*:*:*:*:*:rust:*:* | 1 | OR | 0.14.10 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99c | Exploit Third Party Advisory |
https://github.com/rust-lang/rust/pull/28826/commits/123a83326fb95366e94a3be1a74775df4db97739 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32715 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32715 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:54:33 | Added to TrackCVE | |||
2022-12-05 05:35:21 | 2021-07-07T20:15Z | 2021-07-07T20:15:08 | CVE Published Date | updated |
2022-12-05 05:35:21 | 2021-07-22T12:49:47 | CVE Modified Date | updated | |
2022-12-05 05:35:21 | Analyzed | Vulnerability Status | updated | |
2022-12-05 05:35:25 | References | updated | ||
2022-12-05 05:35:25 | CVSS V2 information | new | ||
2022-12-06 02:56:26 | CVSS V2 information | new | ||
2022-12-06 16:28:57 | CVSS V2 information | new | ||
2022-12-06 18:11:56 | CVSS V2 information | new | ||
2022-12-06 19:12:18 | CVSS V2 information | new | ||
2022-12-06 20:11:50 | CVSS V2 information | new | ||
2022-12-06 21:12:32 | CVSS V2 information | new |