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.
The vulnerability has been fixed in 6.4.2 and 5.6.8.
No known workarounds.
| Score | Percentile |
|---|---|
| 2.46% | 85.00% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 5.9 | 3.1 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-c2f4-cvqm-65w2 ↗ |
| CVE | CVE-2024-21647 ↗ |
| CWE id | Name |
|---|---|
| CWE-444 | Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| rubygems | puma | >= 6.0.0, < 6.4.2 | 6.4.2 | — |
| rubygems | puma | < 5.6.8 | 5.6.8 | — |