Skip to content

Request smuggling is possible when both chunked TE and content length specified

Low
cy6erGn0m published GHSA-xrr9-rh8p-433v Jan 27, 2020

Package

maven ktor-server-cio, ktor-client-cio (Maven)

Affected versions

< 1.3.0

Patched versions

1.3.0

Description

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

#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

Severity

Low

CVE ID

CVE-2020-5207

Weaknesses

No CWEs