{"id":"CVE-2021-32715","revision":"29748087c1da4cd0a6f4f87e601478e8","records":[{"revision":"29748087c1da4cd0a6f4f87e601478e8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-32715","aliases":[],"title":"Lenient Parsing of Content-Length Header When Prefixed with Plus Sign","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.","state":0,"publishedAt":"2021-07-07T20:05:11+00:00","modifiedAt":"2024-08-03T23:25:31.081+00:00","affected":[{"ecosystem":"Vendor product","name":"hyper","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"hyper\",\n                    \"vendor\": \"hyperium\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 0.14.10\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1,"severity":"LOW"}],"references":["https://github.com/hyperium/hyper/security/advisories/GHSA-f3pg-qwvg-p99c","https://github.com/rust-lang/rust/pull/28826/commits/123a83326fb95366e94a3be1a74775df4db97739"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-32715","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-32715","identifiers":["CVE-2021-32715"]},"retained":false,"historicalAffected":[]}],"coverage":[]}