HTTP Response Splitting Affecting puma package, versions >=4.0.0, <4.3.2 <3.12.3
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-PUMA-559020
- published 28 Feb 2020
- disclosed 28 Feb 2020
- credit Unknown
Introduced: 28 Feb 2020
CVE-2020-5247 Open this link in a new tabHow to fix?
Upgrade puma
to version 4.3.2, 3.12.3 or higher.
Overview
puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and production environments. It's great for highly concurrent Ruby implementations such as Rubinius and JRuby as well as as providing process worker support to support CRuby well.
Affected versions of this package are vulnerable to HTTP Response Splitting. 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.
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.