UBUNTU-CVE-2020-5247

Source
https://ubuntu.com/security/CVE-2020-5247
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-5247.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-5247
Related
Published
2020-02-28T17:15:00Z
Modified
2020-02-28T17:15:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
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.

References

Affected packages

Ubuntu:20.04:LTS / puma

Package

Name
puma
Purl
pkg:deb/ubuntu/puma?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.12.4-1ubuntu2

Affected versions

3.*

3.12.0-2ubuntu1
3.12.0-4ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.12.4-1ubuntu2",
            "binary_name": "puma"
        },
        {
            "binary_version": "3.12.4-1ubuntu2",
            "binary_name": "puma-dbgsym"
        }
    ]
}