Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. puma
  4. ›
  5. CVE-2020-5249

CVE-2020-5249: Injection Vulnerability

March 2, 2020 (updated April 9, 2020)

In Puma (RubyGem), 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).

References

  • nvd.nist.gov/vuln/detail/CVE-2020-5249

Code Behaviors & Features

Detect and mitigate CVE-2020-5249 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.12.3, all versions starting from 4.0.0 up to 4.3.2

Fixed versions

  • 3.12.4
  • 4.3.3

Solution

Upgrade to versions 3.12.4, 4.3.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

gem/puma/CVE-2020-5249.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.