Vulnerability RUSTSEC-2021-0079

Critical
CRITICAL RISK
CVSS Score: 9.1
Score Range: 9.0–10.0
Critical severity vulnerabilities (CVSS 9.0–10.0). These represent the highest impact issues.
5 years ago
July 07, 2021 at 12:00 PM UTC
Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss
0.0.1 - 0.14.9
0.0.1 - 0.14.9

Summary

Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss

Details

When decoding chunk sizes that are too large, hyper's code would encounter an integer overflow. Depending on the situation, this could lead to data loss from an incorrect total size, or in rarer cases, a request smuggling attack.

To be vulnerable, you must be using hyper for any HTTP/1 purpose, including as a client or server, and consumers must send requests or responses that specify a chunk size greater than 18 exabytes. For a possible request smuggling attack to be possible, any upstream proxies must accept a chunk size greater than 64 bits.

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 day ago
October 12, 2026 at 06:00 PM UTC