Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Puma | Puma | <= 3.12.3 |
Related Weaknesses (CWE)
References
- https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3PatchThird 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://owasp.org/www-community/attacks/HTTP_Response_SplittingThird Party Advisory
- https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3PatchThird 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://owasp.org/www-community/attacks/HTTP_Response_SplittingThird Party Advisory
FAQ
What is CVE-2020-5249?
CVE-2020-5249 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ma...
How severe is CVE-2020-5249?
CVE-2020-5249 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-5249?
Check the references section above for vendor advisories and patch information. Affected products include: Puma Puma.