Skip to main content
No exploitation reportedFix available

CVE-2020-5247

No exploitation reported by the sources we read.

  • Published2020-02-28
  • WeaknessCWE-113 · CWE-74

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-02-2817:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2020-5247?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2020-5247?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
Ruby
BranchAffectedFixed in
2.3≤ 2.3.0no fix published
2.4≥ 2.4.0, ≤ 2.4.7no fix published
2.5≥ 2.5.0, ≤ 2.5.6no fix published
2.6≥ 2.6.0, ≤ 2.6.4no fix published
2.7= 2.7.0no fix published
ruby
BranchAffectedFixed in
2.6≥ 2.6.0, < 2.6.52.6.5
2.5≥ 2.5.0, < 2.5.72.5.7
2.4≥ 2.4.0, < 2.4.82.4.8
2.3< 2.3.12.3.1
ruby-min
BranchAffectedFixed in
2.6≥ 2.6.0, < 2.6.52.6.5
2.5≥ 2.5.0, < 2.5.72.5.7
2.4≥ 2.4.0, < 2.4.82.4.8
2.3< 2.3.12.3.1

4 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CNACVSS 3.16.5read 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • CNAweakness (CWE)CWE-113read 2026-10-23
  • NVDweakness (CWE)CWE-74read 2026-10-23
  • FIRST EPSSEPSS score2.5 %2026-10-22
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
2020-02-28
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2020-5247?

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.

Is CVE-2020-5247 actively exploited?

Active exploitation of CVE-2020-5247 has not been confirmed. Its EPSS score was 2.5% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-5247?

CVE-2020-5247 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Running Ruby? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month