7.5

CVE-2020-5247: HTTP Response Splitting in Puma

Modified
AliasesUBUNTU-CVE-2020-5247DEBIAN-CVE-2020-5247GHSA-84j7-475p-hp8v
Published 28-02-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-5247 is a high (CVSS 7.5) vulnerability in debian debian_linux. EPSS estimates a 2.55% chance of exploitation in the next 30 days, higher than 85% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
2.55%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 10

Timeline

  1. 28-02-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

2.55%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.55% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Fedoraproject1 product
Puma1 product
  • puma< 3.12.3 | ≥ 4.0.0, < 4.3.2 | ≤ 3.12.3 | ≥ 4.0.0, ≤ 4.3.2
Ruby-lang1 product
  • rubyEOL≤ 2.3.0 | ≥ 2.4.0, ≤ 2.4.7 | ≥ 2.5.0, ≤ 2.5.6 | ≥ 2.6.0, ≤ 2.6.4 | 2.7.0:preview1
RubyGems1 product
  • puma< 3.12.4 | ≥ 4.0.0, < 4.3.3
Ubuntu1 product
  • puma< 3.12.4-1ubuntu2

6 vendors · 7 products

References

19 links
Show all 19 references