{"id":"CVE-2020-5249","published":"2020-03-02T15:20:21Z","modified":"2024-08-04T08:22:09Z","title":"HTTP Response Splitting (Early Hints) in Puma","vendor":"puma","product":"Puma","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01571,"percentile":0.75379,"provenance":"source"},"cwes":[{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://owasp.org/www-community/attacks/HTTP_Response_Splitting","tags":["x_refsource_MISC"]},{"url":"https://github.com/puma/puma/security/advisories/GHSA-33vf-4xgg-9r58","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8v","tags":["x_refsource_MISC"]},{"url":"https://github.com/puma/puma/commit/c22712fc93284a45a93f9ad7023888f3a65524f3","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJ3LL5F5QADB6LM46GXZETREAKZMQNRD/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMJ3CGZ3DLBJ5WUUKMI5ZFXFJQMXJZIK/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIHVO3CQMU7BZC7FCTSRJ33YDNS3GFPK/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":15.08},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"puma","affectedVersions":[{"vendor":"puma","product":"Puma","versions":["< 3.12.4",">= 4.0.0, < 4.3.3"]}],"affected":[{"ecosystem":"RubyGems","package":"puma","vulnerableRanges":["<3.12.4",">=4.0.0, <4.3.3"],"patched":["3.12.4","4.3.3"],"from":["GHSA-33vf-4xgg-9r58"],"provenance":"source"}],"euvd":{"id":"EUVD-2020-0325","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-puma-cve-2020-5247","parents":[{"from":"CVE-2020-5247","to":"CVE-2020-5249","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is related to CVE-2020-5247, which fixed this vulnerability but only for regular responses.","from":"CVE.org","in":"CVE-2020-5249"},{"kind":"osv-related","provenance":"source","id":"GHSA-84j7-475p-hp8v","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-33vf-4xgg-9r58","via":"reference","url":"https://github.com/puma/puma/security/advisories/GHSA-84j7-475p-hp8v"},{"kind":"similar","provenance":"machine","score":0.6,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2019-16770","published":"2019-12-05","fixed":"4.3.1","kev":false,"link":{"from":"CVE-2019-16770","to":"CVE-2020-5249","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"4.3.1","toFixed":"4.3.3","daysApart":88},{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"3.12.2","toFixed":"3.12.4","daysApart":88}]}},{"cve":"CVE-2020-5247","published":"2020-02-28","fixed":"4.3.3","kev":false},{"cve":"CVE-2020-5249","published":"2020-03-02","fixed":"4.3.3","kev":false},{"cve":"CVE-2020-11076","published":"2020-05-22","fixed":"4.3.4","kev":false,"link":{"from":"CVE-2020-5249","to":"CVE-2020-11076","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"4.3.3","toFixed":"4.3.4","daysApart":81},{"kind":"version-step","provenance":"source","package":"RubyGems:puma","fromFixed":"3.12.4","toFixed":"3.12.5","daysApart":81}]}},{"cve":"CVE-2020-11077","published":"2020-05-22","fixed":"4.3.5","kev":false},{"cve":"CVE-2021-29509","published":"2021-05-11","fixed":"5.3.1","kev":false}],"package":"RubyGems:puma"}}