Loading...
Skip to main content

CVE-2024-21647

MEDIUM

Puma HTTP Request/Response Smuggling vulnerability

Published January 8, 2024Updated February 4, 2026Source: osv

Summary

### Impact Prior to versions 6.4.2 and 5.6.8, puma exhibited dangerous behavior when parsing chunked transfer encoding bodies. Fixed versions limit the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption. ### Patches The vulnerability has been fixed in 6.4.2 and 5.6.8. ### Workarounds No known workarounds. ### References * [HTTP Request Smuggling](https://portswigger.net/web-security/request-smuggling) * Open an issue in [Puma](https://github.com/puma/puma) * See our [security policy](https://github.com/puma/puma/security/policy)

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update puma to 5.6.8 or later
gem install puma -v 5.6.8
Bundler
Update puma to 6.4.2 or later
gem install puma -v 6.4.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

PackageEcosystemAffectedFixed In
puma
rubygems
0.8.0, 0.8.1, 0.8.2, 0.9.0 (+149 more)5.6.8
puma
rubygems
6.0.0, 6.0.1, 6.0.2, 6.1.0 (+8 more)6.4.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Frequently Asked Questions

What is CVE-2024-21647?
Puma HTTP Request/Response Smuggling vulnerability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
How do I check if my project is affected by CVE-2024-21647?
CVE-2024-21647 affects puma. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-21647 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.9

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-c2f4-cvqm-65w2

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies