CVE-2021-32715

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32715
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32715.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32715
Aliases
Related
Published
2021-07-07T20:15:08Z
Modified
2024-09-18T01:00:21Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / rust-hyper

Package

Name
rust-hyper
Purl
pkg:deb/debian/rust-hyper?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.14.19-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / rust-hyper

Package

Name
rust-hyper
Purl
pkg:deb/debian/rust-hyper?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.14.19-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}