ADVISORIES

RustSec Advisory Database

RUSTSEC-2021-0020

Multiple Transfer-Encoding headers misinterprets request payload

Details

hyper's HTTP server code had a flaw that incorrectly understands some requests with multiple transfer-encoding headers to have a chunked payload, when it should have been rejected as illegal. This combined with an upstream HTTP proxy that understands the request payload boundary differently can result in "request smuggling" or "desync attacks".

Affected packages

EcosystemPackageAffected versions
crates.iohyper
From 0.12.0 before 0.12.36 (fixed in 0.12.36)
From 0.13.0-0 before 0.13.10 (fixed in 0.13.10)
From 0.14.0-0 before 0.14.3 (fixed in 0.14.3)

References