Live threats

All CVEs / Puma

CVE-2020-5249Puma

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
Mar 2, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-113, CWE-74
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

In Puma (RubyGem) before 4.3.3 and 3.12.4, 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). This is related to CVE-2020-5247, which fixed this vulnerability but only for regular responses. This has been fixed in 4.3.3 and 3.12.4.

Original NVD text.

What to do

  1. Apply the vendor's security update for Puma.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems puma < 3.12.4 3.12.4 gem "puma", ">= 3.12.4"
RubyGems puma ≥ 4.0.0 < 4.3.3 4.3.3 gem "puma", ">= 4.3.3"

Per OSV / GitHub Advisories (GHSA-33vf-4xgg-9r58). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pumapuma≤ 3.12.3
pumapuma≥ 4.0.0 ≤ 4.3.2

Official sources

References

Links published by the sources. Open them with care.