CVE-2020-5247 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-113 | Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| puma puma | <= 3.12.3 >= 4.0.0, <= 4.3.2 |
CPE
Remediation
| |
| ruby-lang ruby | <= 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 |
CPE
Remediation
| |
| debian debian linux | 9.0 |
CPE
Remediation
| |
| fedoraproject fedora | 30 31 32 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Oct 12, 2022 | Modified Analysis | [email protected] |
| May 26, 2022 | CVE Modified | [email protected] |
| Apr 9, 2020 | CVE Modified | [email protected] |
| Apr 9, 2020 | CVE Modified | [email protected] |
| Mar 4, 2020 | Initial Analysis | [email protected] |
| Mar 2, 2020 | CVE Modified | [email protected] |