Vulnerability RUSTSEC-2021-0078

Medium Risk
MEDIUM RISK
CVSS Score: 5.3
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
5 years ago
July 07, 2021 at 12:00 PM UTC
Lenient `hyper` header parsing of `Content-Length` could allow request smuggling
0.0.1 - 0.12.36 and 0.13.0 - 0.14.9
0.0.1 - 0.12.36 and 0.13.0 - 0.14.9

Summary

Lenient `hyper` header parsing of `Content-Length` could allow request smuggling

Details

hyper's HTTP header parser accepted, according to RFC 7230, illegal contents inside Content-Length headers. Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error.

To be vulnerable, hyper must be used as an HTTP/1 server and using an HTTP proxy upstream that ignores the header's contents but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerability is unlikely.

Impacted packages

Timeline

Published
5 years ago
July 07, 2021 at 12:00 PM UTC
Fixed (0.14.10)
5 years ago
July 07, 2021 at 06:34 PM UTC
Last Modified
1 hour ago
October 12, 2026 at 06:00 PM UTC