GitHub Advisory Database
GHSA-xrr9-rh8p-433v
Request smuggling is possible when both chunked TE and content length specified
Details
Impact
Request smuggling is possible when running behind a proxy that doesn't handle Content-Length and Transfer-Encoding properly or doesn't handle alone \n as a headers separator.
Patches
https://github.com/ktorio/ktor/pull/1547
Workarounds
None except migrating to a better proxy.
References
https://portswigger.net/web-security/request-smuggling https://tools.ietf.org/html/rfc7230#section-9.5
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | io.ktor:ktor-client-cio | All versions before 1.3.0 (fixed in 1.3.0) |
| Maven | io.ktor:ktor-server-cio | All versions before 1.3.0 (fixed in 1.3.0) |