BIT-ruby-2020-5247

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/ruby/BIT-ruby-2020-5247.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-ruby-2020-5247
Aliases
Published
2024-03-06T11:05:50.672Z
Modified
2024-11-27T19:40:48.342Z
Summary
[none]
Details

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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:ruby-lang:ruby:2.7.0:preview1:*:*:*:*:*:*"
    ],
    "severity": "Medium"
}
References

Affected packages

Bitnami / ruby

Package

Name
ruby
Purl
pkg:bitnami/ruby

Severity

  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.0
Introduced
2.4.0
Fixed
2.4.7
Introduced
2.5.0
Fixed
2.5.6
Introduced
2.6.0
Fixed
2.6.4
Type
SEMVER
Events
Introduced
2.7.0-preview1
Last affected
2.7.0-preview1