CVE-2024-21647
Ruby vulnerability analysis and mitigation

Overview

CVE-2024-21647 affects Puma, 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, allowing HTTP request smuggling. The vulnerability was discovered and disclosed on January 8, 2024, affecting all versions before 6.4.2 and 5.6.8 (GHSA Advisory, NVD).

Technical details

The vulnerability stems from incorrect parsing of chunked transfer encoding bodies in HTTP/1.1 requests. The issue specifically relates to unlimited chunk extensions processing. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) by NIST with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, while GitHub assigned a score of 5.9 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

Without size limits on chunk extensions, an attacker could cause unbounded resource consumption, specifically targeting CPU and network bandwidth. This could lead to a denial of service condition in affected systems (GHSA Advisory, Ubuntu Security).

Mitigation and workarounds

The vulnerability has been fixed in Puma versions 6.4.2 and 5.6.8. The fix implements limits on the size of chunk extensions. No alternative workarounds are available, making upgrading to a patched version the only mitigation strategy (GHSA Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68271CRITICAL10
  • RubyRuby
  • openc3
NoYesJan 13, 2026
CVE-2026-22589HIGH7.5
  • RubyRuby
  • spree_core
NoYesJan 10, 2026
GHSA-96qw-h329-v5rgHIGH7.5
  • JavaScriptJavaScript
  • shakapacker
NoYesJan 08, 2026
CVE-2026-22588MEDIUM6.5
  • RubyRuby
  • spree_api
NoYesJan 08, 2026
GHSA-g9jg-w8vm-g96vMEDIUM4.6
  • JavaScriptJavaScript
  • action_text-trix
NoYesDec 31, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management