RustSec Advisory Database
RUSTSEC-2021-0081
Potential request smuggling capabilities due to lack of input validation
Details
Affected versions of this crate did not properly detect invalid requests that could allow HTTP/1 request smuggling (HRS) attacks when running alongside a vulnerable front-end proxy server. This can result in leaked internal and/or user data, including credentials, when the front-end proxy is also vulnerable.
Popular front-end proxies and load balancers already mitigate HRS attacks so it is recommended that they are also kept up to date; check your specific set up. You should upgrade even if the front-end proxy receives exclusively HTTP/2 traffic and connects to the back-end using HTTP/1; several downgrade attacks are known that can also expose HRS vulnerabilities.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | actix-http | From 0.0.0-0 before 2.2.1 (fixed in 2.2.1) From 3.0.0-0 before 3.0.0-beta.9 (fixed in 3.0.0-beta.9) |