CVE-2024-21647: Puma HTTP Request/Response Smuggling vulnerability
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.
Published Jan 8, 2024 · Updated Nov 4, 2025
Affected packages
puma
- Ecosystem
- RubyGems
- Affected
- >= 6.0.0, < 6.4.2
- Fixed in
- 6.4.2
- Check
bundle info puma
puma
- Ecosystem
- RubyGems
- Affected
- < 5.6.8
- Fixed in
- 5.6.8
- Check
bundle info puma
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- Open an issue in Puma
- See our security policy
Credited to bartekn.
References
- https://github.com/puma/puma/security/advisories/GHSA-c2f4-cvqm-65w2
- https://nvd.nist.gov/vuln/detail/CVE-2024-21647
- https://github.com/puma/puma/commit/5fc43d73b6ff193325e657a24ed76dec79133e93
- https://github.com/puma/puma/commit/60d5ee3734adc8cee85c3f0561af392448fe19b7
- https://github.com/puma/puma/commit/bbb880ffb6debbfdea535b4b3eb2204d49ae151d
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2024-21647.yml
- https://lists.debian.org/debian-lts-announce/2024/11/msg00004.html
- https://github.com/advisories/GHSA-c2f4-cvqm-65w2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More RubyGems vulnerabilities
All RubyGems entriesCVE-2026-47737
Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections
high7.5Jun 9, 2026CVE-2026-47736
Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion
high7.5Jun 8, 2026CVE-2024-45614
Puma's header normalization allows for client to clobber proxy set headers
medium5.4Sep 20, 2024
