Vulnerability · Published Jan 27, 2020 · Assigned by GitHub_M
CVE-2020-5207Request smuggling is possible in Ktor when both chunked TE and content length specified
Medium 5.4
In plain English
A medium-severity security flaw in Ktor from Ktor.io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.8%top 44.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
In Ktor before 1.3.0, request smuggling is possible when running behind a proxy that doesn't handle Content-Length and Transfer-Encoding properly or doesn't handle \n as a headers separator.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.ktor:ktor-client-cio | 1.3.0 | GHSA-xrr9-rh8p-433v |
| Maven | io.ktor:ktor-server-cio | 1.3.0 | GHSA-xrr9-rh8p-433v |
Affected products (as reported)
Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/ktorio/ktor/security/advisories/GHSA-xrr9-rh8p-433v x_refsource_CONFIRM
- https://github.com/ktorio/ktor/pull/1547 x_refsource_MISC