puma — security advisory
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.
- Products
- puma
- Affected versions
- Not specified
- Fixed versions
- 3.12.4-1
- CVEs
- CVE-2020-5249
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:14 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2020-5249
puma
Fixed versions: 3.12.4-1
puma
Fixed versions: 3.12.4-1
puma
Fixed versions: 3.12.4-1
Complete source record
{
"id": "4294e6ff3bfac7968ff7cc46c57e2a5f42b5ced2866493c2b776f3ccd37a0f19",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-5249",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-5249",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2020-5249",
"products": [
{
"name": {
"value": "puma",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.12.4-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "puma",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.12.4-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "puma",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.12.4-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2020-5249",
"aliases": [
"DEBIAN-CVE-2020-5249"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.12.4-1"
}
]
}
],
"package": {
"name": "puma",
"purl": "pkg:deb/debian/puma?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5249.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.12.4-1"
}
]
}
],
"package": {
"name": "puma",
"purl": "pkg:deb/debian/puma?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5249.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.12.4-1"
}
]
}
],
"package": {
"name": "puma",
"purl": "pkg:deb/debian/puma?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-5249.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:04.906332724Z",
"provider": "osv",
"upstream": [
"CVE-2020-5249"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-5249"
]
},
"related_cves": [
{
"value": "CVE-2020-5249",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 451991,
"published_at": "2020-03-02T16:15:12.33+00:00"
}