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

CVE-2024-21647: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

January 8, 2024

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.

References

  • github.com/advisories/GHSA-c2f4-cvqm-65w2
  • 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
  • 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

  • 5.6.8
  • 6.4.2

Solution

Upgrade to versions 5.6.8, 6.4.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/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')
  • CWE-707: Improper Neutralization

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 Wed, 14 May 2025 12:14:56 +0000.