alepez / devand

DevAndDev helps developers finding pair-programming partners.
Apache License 2.0
40 stars 9 forks source link

RUSTSEC-2021-0020: Multiple Transfer-Encoding headers misinterprets request payload #135

Open github-actions[bot] opened 3 years ago

github-actions[bot] commented 3 years ago

Multiple Transfer-Encoding headers misinterprets request payload

Details
Package hyper
Version 0.12.35
URL https://github.com/hyperium/hyper/security/advisories/GHSA-6hfq-h8hq-87mf
Date 2021-02-05
Patched versions >=0.14.3,>=0.13.10, <0.14.0
Unaffected versions <0.12.0

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

See advisory page for additional details.