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

EcosystemPackageFixed inAdvisory
Mavenio.ktor:ktor-client-cio1.3.0GHSA-xrr9-rh8p-433v
Mavenio.ktor:ktor-server-cio1.3.0GHSA-xrr9-rh8p-433v

Affected products (as reported)

VendorProductVersions
Ktor.io Ktor < 1.3.0

Weakness: CWE-444 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References