RUSTSEC-2021-0020

Multiple Transfer-Encoding headers misinterprets request payload

Issued
Package
hyper (crates.io)
Type
Vulnerability
Categories
  • format-injection
Aliases
Details
https://github.com/hyperium/hyper/security/advisories/GHSA-6hfq-h8hq-87mf
Patched
  • >=0.14.3
  • ^0.13.10
  • ^0.12.36
Unaffected
  • <0.12.0
Keywords
  • http
  • request-smuggling

Description

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".

More