CVE-2020-5247 is a medium-severity security vulnerability in puma (rubygems), affecting versions < 3.12.3. It is fixed in 3.12.4, 4.3.3.
In Puma (RubyGem) before 4.3.2 and 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e. CR, LF or/r, /n) to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is known as HTTP Response Splitting. While not an attack in itself, response splitting is a vector for several other attacks, such as cross-site scripting (XSS). This is related to CVE-2019-16254, which fixed this vulnerability for the WEBrick Ruby web server. This has been fixed in versions 4.3.2 and 3.12.3 by checking all headers for line endings and rejecting headers with those characters.
CVE-2020-5247 has a CVSS score of 6.5 (Medium). The vector is network-reachable, low privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (3.12.4, 4.3.3). Upgrading removes the vulnerable code path.
rubygems
puma (< 3.12.3)puma (>= 4.0.0, < 4.3.2)puma → 3.12.4 (rubygems)puma → 4.3.3 (rubygems)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether CVE-2020-5247 is reachable in your applications. Explore open-source security for your team.
See if CVE-2020-5247 is reachable in your applications. Get a demo
Upgrade the following packages to resolve this vulnerability:
puma to 3.12.4 or laterpuma to 4.3.3 or laterKodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
CVE-2020-5247 is a medium-severity security vulnerability in puma (rubygems), affecting versions < 3.12.3. It is fixed in 3.12.4, 4.3.3.
CVE-2020-5247 has a CVSS score of 6.5 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
puma (rubygems) versions < 3.12.3 is affected.
Yes. CVE-2020-5247 is fixed in 3.12.4, 4.3.3. Upgrade to this version or later.
Whether CVE-2020-5247 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
puma to 3.12.4 or laterpuma to 4.3.3 or later