CVE-2020-5247
published medium CVSS 3.1 · 6.5HTTP Response Splitting in Puma
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| puma | — | Puma< 3.12.3 · >= 4.0.0, < 4.3.2 | Affected | Not stated | GitHub_M |
| Debian | stretch | puma | Advisory build | 3.6.0-1+deb9u2 | DLA-3023-1 |
| SUSE / openSUSE | SLE-15 | rmt-serveraarch64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-serverppc64le | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-servers390x | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-serverx86_64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configppc64le | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
Show 32 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15 | rmt-server-configs390x | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.34.1 | SUSE-SU-2020:3147-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serveraarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serverppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-servers390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-serverx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configs390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudaarch64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudppc64le | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubclouds390x | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP1 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-3.18.1 | SUSE-SU-2020:3160-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serveraarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serverppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-servers390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-serverx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configaarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configs390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-configx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudaarch64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudppc64le | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubclouds390x | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | SLE-15-SP2 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-3.3.1 | SUSE-SU-2020:3036-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-serverx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-server-configx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-lp151.2.18.2 | OPENSUSE-SU-2020:2000-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-serverx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-server-configx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | rmt-server-pubcloudx86_64 | Advisory build | 2.6.5-lp152.2.3.1 | OPENSUSE-SU-2020:1993-1 |
Description
In Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e. `CR`, `LF` or`/r`, `/n`) 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-2019-16254, which fixed this vulnerability for the WEBrick Ruby web server. This has been fixed in versions 4.3.2 and 3.12.3 by checking all headers for line endings and rejecting headers with those characters.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| puma | Puma | < 3.12.3 (affected)>= 4.0.0, < 4.3.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-113 CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')
References
7- https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8v
- [debian-lts-announce] 20220525 [SECURITY] [DLA 3023-1] puma security update https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html
- FEDORA-2020-fd87f90634 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMJ3CGZ3DLBJ5WUUKMI5ZFXFJQMXJZIK/
- FEDORA-2020-08092b4c97 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIHVO3CQMU7BZC7FCTSRJ33YDNS3GFPK/
- FEDORA-2020-a3f26a9387 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ3LL5F5QADB6LM46GXZETREAKZMQNRD/
- https://owasp.org/www-community/attacks/HTTP_Response_Splitting
- https://www.ruby-lang.org/en/news/2019/10/01/http-response-splitting-in-webrick-cve-2019-16254
Provider assertions
2GitHub_M · cna
HTTP Response Splitting in Puma
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7ae29a4099bff7ba83f067787adab9d663f6b2aba26842b02dee6ecd90201614
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record