Security mailing lists by PureSourceCode

CVE-2021-32715

MEDIUM 5.3CVSS 3.1

Lenient Parsing of Content-Length Header When Prefixed with Plus Sign

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.

Published
7 Jul 2021
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-444
Also known as
GHSA-f3pg-qwvg-p99cRUSTSEC-2021-0078
Sources
NVDJSONOSV GHSA-f3pg-qwvg-p99cJSONOSV RUSTSEC-2021-0078JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV RustSec CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hyper hyper
cpe:2.3:a:hyper:hyper:*:*:*:*:*:rust:*:*
< 0.14.10 0.14.10
OSV crates.io hyper < 0.14.10 0.14.10
OSV crates.io hyper >= 0.0.0-0, < 0.14.10 0.14.10

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Jul 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Jul 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.