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 trend (30 days)EPSS over the last 30 days for CVE-2020-5249: held from 0.016 to 0.016.

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

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.