CVE-2020-5249
MEDIUM 6.5CVSS 3.1HTTP Response Splitting (Early Hints) in Puma
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
- 2 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-113CWE-74
- Also known as
- GHSA-33vf-4xgg-9r58
- Sources
- NVDJSONOSV GHSA-33vf-4xgg-9r58JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | puma | pumacpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* |
<= 3.12.3 | |
| NVD | puma | pumacpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* |
>= 4.0.0, <= 4.3.2 | |
| OSV | RubyGems | puma | < 3.12.4 | 3.12.4 |
| OSV | RubyGems | puma | >= 4.0.0, < 4.3.3 | 4.3.3 |
References
- https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3 · Patch, Third Party Advisory, WEB
- https://github.com/puma/puma/security/advisories/GHSA-33vf-4xgg-9r58 · Third Party Advisory, WEB
- https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8v · Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMJ3CGZ3DLBJ5WUUKMI5ZFXFJQMXJZIK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIHVO3CQMU7BZC7FCTSRJ33YDNS3GFPK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ3LL5F5QADB6LM46GXZETREAKZMQNRD/
- https://owasp.org/www-community/attacks/HTTP_Response_Splitting · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5249 · ADVISORY
- https://github.com/puma/puma · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2020-5249.yml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BMJ3CGZ3DLBJ5WUUKMI5ZFXFJQMXJZIK · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DIHVO3CQMU7BZC7FCTSRJ33YDNS3GFPK · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJ3LL5F5QADB6LM46GXZETREAKZMQNRD · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 2 Mar 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Mar 2020)