Cheroot is vulnerable to request smuggling via multiple Content-Length
headers
#737
Open
1 of 3 tasks
Content-Length
headers
#737
β I'm submitting a ...
π Describe the bug. What is the current behavior?
Cheroot accepts requests with multiple
Content-Length
headers, prioritizing the second. It is therefore vulnerable to request smuggling when paired with a gateway server that forwards requests with multipleContent-Length
headers, prioritizing the first.β What is the motivation / use case for changing the behavior?
This is a vulnerability.
I reported this privately through the official channel on June 8th, 2024, but received no response.
π‘ To Reproduce
π‘ Expected behavior
The request should be rejected with status 400.
π Environment
main
branch, commit 088647eLinux 8a89c2a1a5fb 6.1.0-25-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: