{"id":"CVE-2020-5207","aliases":["CVE-2020-5207","GHSA-xrr9-rh8p-433v"],"related":[],"kind":"vulnerability","state":"published","title":"Request smuggling is possible in Ktor when both chunked TE and content length specified","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nRequest 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.\n\n### Patches\nhttps://github.com/ktorio/ktor/pull/1547\n\n### Workarounds\nNone except migrating to a better proxy.\n\n### References\nhttps://portswigger.net/web-security/request-smuggling\nhttps://tools.ietf.org/html/rfc7230#section-9.5","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Ktor versiones anteriores a 1.3.0, el tráfico no autorizado de peticiones es posible cuando se ejecuta detrás de un proxy que no maneja Content-Length y Transfer-Encoding apropiadamente o no maneja \\n como un separador de encabezados.","source":"nvd"}],"published":"2020-01-27T19:28:40.000Z","modified":"2026-07-08T05:59:54.373Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"version":"< 1.3.0","status":"affected"}],"vendor":"Ktor.io","product":"Ktor","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.0"}],"ecosystem":"Maven","package":"io.ktor:ktor-client-cio","purl":"pkg:maven/io.ktor/ktor-client-cio","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.3.0"}],"ecosystem":"Maven","package":"io.ktor:ktor-server-cio","purl":"pkg:maven/io.ktor/ktor-server-cio","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.3.0"}],"vendor":"jetbrains","product":"ktor","cpe":"cpe:2.3:a:jetbrains:ktor:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ktorio/ktor/security/advisories/GHSA-xrr9-rh8p-433v","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ktorio/ktor/pull/1547","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5207","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-5207","url":"https://www.cve.org/CVERecord?id=CVE-2020-5207","licence":"CVE Terms of Use","modified":"2024-08-04T08:22:09.258Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xrr9-rh8p-433v","url":"https://github.com/advisories/GHSA-xrr9-rh8p-433v","licence":"CC-BY-4.0","modified":"2026-07-08T05:59:54.373Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-5207","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5207","licence":"Public domain","modified":"2026-06-17T03:21:01.517Z"}],"updatedAt":"2026-11-25T22:57:50.685Z","epss":{"score":0.00762,"percentile":0.56573,"date":"2026-12-01T12:00:22.000Z"}}