CVE-2020-5247

HTTP Response Splitting in Puma

HIGH
7.5
CVSS Score
Published: February 28, 2020 at 04:55 PM UTC
Updated: June 17, 2026 at 03:21 AM UTC
4 products affected across 4 vendorsDebian LinuxFedoraRuby

Using Puma by puma?

Get instant alerts when new vulnerabilities affect Puma - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Puma· Pumarubygems
95%
v ≤ 3.12.3v < 3.12.3v < 4.3.24.0.0 ≤ v ≤ 4.3.2
Affected range stops below 3.12.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.3.2, so it looks safe — our inference, not a vendor statement
95%
v ≤ 2.3.02.4.0 ≤ v ≤ 2.4.72.5.0 ≤ v ≤ 2.5.62.6.0 ≤ v ≤ 2.6.42.7.0 preview1

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-113CWE-74

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card