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.
EPSS 0.50% · 66.3th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:20.04:LTS | puma | 0, 3.12.0-2ubuntu1, 3.12.0-4ubuntu1 |
Exploit Intelligence
- https://owasp.org/www-community/attacks/HTTP_Response_Splitting (circl)
- https://github.com/puma/puma/security/advisories/GHSA-33vf-4xgg-9r58 (circl)
- https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8v (circl)
- https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3 (circl)
- FEDORA-2020-a3f26a9387 (circl)
- FEDORA-2020-fd87f90634 (circl)
- FEDORA-2020-08092b4c97 (circl)
- file.History.html (github-poc)
- file.History.html (github-poc)
- file.History.html (github-poc)
…and 5 more exploits
Timeline
- Mar 2, 2020 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2020-5249 third-party-advisory
- https://github.com/puma/puma/security/advisories/GHSA-33vf-4xgg-9r58 third-party-advisory
- https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3 third-party-advisory
- https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8v third-party-advisory
- https://owasp.org/www-community/attacks/HTTP_Response_Splitting third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2020-5249 third-party-advisory