CVE-2020-5249Puma
Medium 6.5
Follow: this CVE · Puma · Puma We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- Yes
- Published
- Mar 2, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Puma.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | puma |
< 3.12.4 |
3.12.4 |
gem "puma", ">= 3.12.4" |
| RubyGems | puma |
≥ 4.0.0 < 4.3.3 |
4.3.3 |
gem "puma", ">= 4.3.3" |
Per OSV / GitHub Advisories (GHSA-33vf-4xgg-9r58). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| puma | puma | ≤ 3.12.3 |
| puma | puma | ≥ 4.0.0 ≤ 4.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- owasp.org Third Party Advisory