CVE-2020-5249
Last modified
CVE-2020-5249 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 1.57% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Puma | Puma | <= 3.12.3 |
| Puma | Puma | >= 4.0.0, <= 4.3.2 |
References
- https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3Patch, Third Party Advisory
- https://github.com/puma/puma/security/advisories/GHSA-33vf-4xgg-9r58Third Party Advisory
- https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8vThird Party Advisory
- https://owasp.org/www-community/attacks/HTTP_Response_SplittingThird Party Advisory
- https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3Patch, Third Party Advisory
- https://github.com/puma/puma/security/advisories/GHSA-33vf-4xgg-9r58Third Party Advisory
- https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8vThird Party Advisory
- https://owasp.org/www-community/attacks/HTTP_Response_SplittingThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-5249?
How severe is CVE-2020-5249?
How do I fix CVE-2020-5249?
Are you affected by CVE-2020-5249?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
