Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. puma
  4. ›
  5. CVE-2024-21647

CVE-2024-21647: Puma HTTP Request/Response Smuggling vulnerability

January 8, 2024 (updated November 4, 2025)

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.

References

  • github.com/advisories/GHSA-c2f4-cvqm-65w2
  • github.com/puma/puma
  • github.com/puma/puma/commit/5fc43d73b6ff193325e657a24ed76dec79133e93
  • github.com/puma/puma/commit/60d5ee3734adc8cee85c3f0561af392448fe19b7
  • github.com/puma/puma/commit/bbb880ffb6debbfdea535b4b3eb2204d49ae151d
  • github.com/puma/puma/security/advisories/GHSA-c2f4-cvqm-65w2
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2024-21647.yml
  • lists.debian.org/debian-lts-announce/2024/11/msg00004.html
  • nvd.nist.gov/vuln/detail/CVE-2024-21647

Code Behaviors & Features

Detect and mitigate CVE-2024-21647 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.6.8, all versions starting from 6.0.0 before 6.4.2

Fixed versions

  • 6.4.2
  • 5.6.8

Solution

Upgrade to versions 5.6.8, 6.4.2 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

gem/puma/CVE-2024-21647.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 07 Dec 2025 12:18:28 +0000.