Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-5247

rubygem-puma: attacker is able to use newline characters to insert malicious content (HTTP Response Splitting), this could lead to XSS

Overview

Published
28 Feb 2020
Modified
17 Jun 2026
High CVE
3 Registry packages
5 OS packages
3 Linux distributions
Yes Fix available

Description

In Puma (RubyGem) before 4.3.2 and before 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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness: CWE-113, CWE-74

Affected packages · 3

Packages affected by CVE-2020-5247
EcosystemPackageVulnerableFixed in
Bitnami ruby <2.3.1>=2.4.0, <2.4.8>=2.5.0, <2.5.7>=2.6.0, <2.6.5 2.3.12.4.82.5.72.6.5
Bitnami ruby-min <2.3.1>=2.4.0, <2.4.8>=2.5.0, <2.5.7>=2.6.0, <2.6.5 2.3.12.4.82.5.72.6.5
RubyGems puma <3.12.4>=4.0.0, <4.3.3 3.12.44.3.3~> 3.12.4

Open a package to see all its vulnerabilities.

Operating systems · 11 fixes

Red Hat 3 releases · 2 packages

wont fix 4
rubygem-puma rh-ror50-rubygem-puma
Red Hat fixes for CVE-2020-5247
ReleasePackageFixed in
rubygem-puma +1 wont fix
7 rubygem-puma +1 wont fix
7 rh-ror50-rubygem-puma +1 wont fix
8 rubygem-puma +1 wont fix

debian 6 releases · 1 package

fixed 6
puma
debian fixes for CVE-2020-5247
ReleasePackageFixed in
10 puma 3.12.0-2+deb10u2
11 puma 3.12.4-1
12 puma 3.12.4-1
13 puma 3.12.4-1
14 puma 3.12.4-1
9 puma 3.6.0-1+deb9u2

echo 1 release · 1 package

fixed 1
puma
echo fixes for CVE-2020-5247
ReleasePackageFixed in
puma 3.12.4-1

References

Show all 16 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.