CVE-2020-5247

CVSS V2 Medium 5 CVSS V3 High 7.5
Description
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.
Overview
  • CVE ID
  • CVE-2020-5247
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2020-02-28T17:15:12
  • Last Modified Date
  • 2022-10-12T13:35:37
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* 1 OR 3.12.3
cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* 1 OR 4.0.0 4.3.2
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 1 OR 2.3.0
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 1 OR 2.4.0 2.4.7
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 1 OR 2.5.0 2.5.6
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 1 OR 2.6.0 2.6.4
cpe:2.3:a:ruby-lang:ruby:2.7.0:preview1:*:*:*:*:*:* 1 OR
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* 1 OR
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 5
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 7.5
  • Base Severity
  • HIGH
  • Exploitability Score
  • 3.9
  • Impact Score
  • 3.6
History
Created Old Value New Value Data Type Notes
2022-05-10 16:45:00 Added to TrackCVE
2022-12-04 11:54:46 2020-02-28T17:15Z 2020-02-28T17:15:12 CVE Published Date updated
2022-12-04 11:54:46 2022-10-12T13:35:37 CVE Modified Date updated
2022-12-04 11:54:46 Analyzed Vulnerability Status updated
2022-12-04 11:54:50 References updated