UBUNTU-CVE-2021-32715

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2021-32715
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32715.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-32715
Related
Published
2021-07-07T20:15:00Z
Modified
2021-07-07T20:15:00Z
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

Ubuntu:20.04:LTS / rust-hyper

Package

Name
rust-hyper

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.12.35-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}