CVE-2024-21647HTTP Request/Response Smuggling in puma
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.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | puma | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | puma | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | puma | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | puma | Fix pending | 5.5.2-2ubuntu2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-21647 |
| Ubuntu 20.04 | puma | Fix pending | 3.12.4-1ubuntu2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-21647 |
| Ubuntu 18.04 | puma | Fix pending | ||
| Debian 14 | puma | Fixed | 6.4.2-1 | DEBIAN-CVE-2024-21647 |
| Debian 13 | puma | Fixed | 6.4.2-1 | DEBIAN-CVE-2024-21647 |
| Debian 12 | puma | Fixed | 5.6.5-3+deb12u1 | DEBIAN-CVE-2024-21647 |
| RubyGems library | puma | Fixed | 6.4.2 | GHSA-c2f4-cvqm-65w2 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- puma: affected: < 5.6.8, >= 6.0.0, < 6.4.2
References
- https://github.com/puma/puma/security/advisories/GHSA-c2f4-cvqm-65w2
- https://github.com/puma/puma/commit/5fc43d73b6ff193325e657a24ed76dec79133e93
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.