CVE-2024-21647: HTTP Request/Response Smuggling in puma
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
Other sources
Impact Prior to versions 6.4.2 and 5.6.8, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies in a way that allowed HTTP request smuggling.
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
Puma is a web server for Ruby/Rack applications built for parallelism. Prior to version 6.4.2, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies in a way that allowed HTTP request smuggling. Fixed versions limits the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption. This vulnerability has been fixed in versions 6.4.2 and 5.6.8.
— Ubuntu
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rubygems/pumato a version that resolves this vulnerability.Fixed in 5.6.8 - Upgrade
Upgrade
rubygems/pumato a version that resolves this vulnerability.Fixed in 6.4.2 - Upgrade
Upgrade
debian/pumato a version that resolves this vulnerability.Fixed in 6.4.2-4 - Upgrade
Upgrade
ubuntu/pumato a version that resolves this vulnerability.Fixed in 3.12.4-1ubuntu2+ - Upgrade
Upgrade
ubuntu/pumato a version that resolves this vulnerability.Fixed in 5.5.2-2ubuntu2+ - Upgrade
Upgrade
ubuntu/pumato a version that resolves this vulnerability.Fixed in 5.6.5-3ubuntu1.2 - Upgrade
Upgrade
ubuntu/pumato a version that resolves this vulnerability.Fixed in 5.6.5-4ubuntu2.1 - Upgrade
Upgrade
redhat/pumato a version that resolves this vulnerability.Fixed in 6.4.2 - Upgrade
Upgrade
redhat/pumato a version that resolves this vulnerability.Fixed in 5.6.8 - Upgrade
Upgrade
pumato a version that resolves this vulnerability.Fixed in 6.4.2 - Upgrade
Upgrade
pumato a version that resolves this vulnerability.Fixed in 5.6.8
Event History
Frequently Asked Questions
What is the severity of CVE-2024-21647?
CVE-2024-21647 is considered a high severity vulnerability due to the potential for unbounded resource consumption.
How do I fix CVE-2024-21647?
To resolve CVE-2024-21647, upgrade to Puma version 5.6.8 or 6.4.2 and later.
What types of systems are affected by CVE-2024-21647?
CVE-2024-21647 affects versions of Puma prior to 6.4.2 and 5.6.8 across various platforms including Debian, Ubuntu, and Red Hat.
What are the consequences of not addressing CVE-2024-21647?
Failing to address CVE-2024-21647 can lead to denial of service conditions due to excessive resource usage.
Is there a workaround for CVE-2024-21647 until I can upgrade?
There are no recommended workarounds for CVE-2024-21647; upgrading is the best solution.