CVE-2020-5247

Summary

CVECVE-2020-5247
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-02-28 17:15:00 UTC
Updated2023-11-07 03:23:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-113

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 30 All All All
Operating System Fedoraproject Fedora 31 All All All
Operating System Fedoraproject Fedora 32 All All All
Application Puma Puma All All All All
Application Puma Puma All All All All
Application Ruby-lang Ruby 2.7.0 preview1 All All
Application Ruby-lang Ruby 2.7.0 preview1 All All
Application Ruby-lang Ruby All All All All
Application Ruby-lang Ruby All All All All
Application Ruby-lang Ruby All All All All
Application Ruby-lang Ruby All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 31 Update: rubygem-puma-3.12.4-1.fc31 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 30 Update: rubygem-puma-3.12.4-1.fc30 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] [DLA 3023-1] puma security update MLIST lists.debian.org
[SECURITY] Fedora 32 Update: rubygem-puma-4.3.3-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 30 Update: rubygem-puma-3.12.4-1.fc30 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE-2019-16254: HTTP response splitting in WEBrick (Additional fix) MISC www.ruby-lang.org Vendor Advisory
HTTP Response Splitting · Advisory · puma/puma · GitHub CONFIRM github.com Mitigation, Third Party Advisory
HTTP Response Splitting Software Attack | OWASP Foundation MISC owasp.org Third Party Advisory
[SECURITY] Fedora 32 Update: rubygem-puma-4.3.3-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 31 Update: rubygem-puma-3.12.4-1.fc31 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179346 Debian Security Update for puma (DLA 3023-1)
  • 750577 OpenSUSE Security Update for rmt-server (openSUSE-SU-2020:2000-1)
  • 750580 OpenSUSE Security Update for rmt-server (openSUSE-SU-2020:1993-1)
  • 900069 CBL-Mariner Linux Security Update for ruby 2.6.3
  • 902975 Common Base Linux Mariner (CBL-Mariner) Security Update for ruby (2672)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report