Vulnerability in Puma
CVE-2020-5249
In Puma (RubyGem) before 4.3.3 and 3.12.4, if an application using Puma allows untrusted input in an early-hints header, an attacker can use a carriage return character 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-2020-5247, which fixed this vulnerability but only for regular responses. This has been fixed in 4.3.3 and 3.12.4.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.016 (74.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 74th percentile — 74.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
- Puma — versions < 3.12.4, >= 4.0.0, < 4.3.3
Weakness classification (CWE)
References
- owasp.org/www-community/attacks/HTTP_Response_Splitting (Third Party Advisory)
- github.com/puma/puma/security/advisories/GHSA-33vf-4xgg-9r58 (Third Party Advisory)
- github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8v (Third Party Advisory)
- github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3 (Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2020-5249?
- CVE-2020-5249 is a medium-severity vulnerability in Puma, classified under HTTP Response Splitting. CVSS score: 6.5/10. Published 2020-03-02.
- How severe is CVE-2020-5249?
- Medium severity. CVSS v3 base score is 6.5 out of 10.