{"id":"CVE-2024-21647","aliases":["CVE-2024-21647","GHSA-c2f4-cvqm-65w2"],"related":[],"kind":"vulnerability","state":"published","title":"HTTP Request/Response Smuggling in puma","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nPrior to versions 6.4.2 and 5.6.8, puma exhibited dangerous behavior when parsing chunked transfer encoding bodies.\n\nFixed versions limit the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption.\n\n### Patches\n\nThe vulnerability has been fixed in 6.4.2 and 5.6.8.\n\n### Workarounds\n\nNo known workarounds.\n\n### References\n\n* [HTTP Request Smuggling](https://portswigger.net/web-security/request-smuggling)\n* Open an issue in [Puma](https://github.com/puma/puma)\n* See our [security policy](https://github.com/puma/puma/security/policy)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Puma es un servidor web para aplicaciones Ruby/Rack creado para el paralelismo. Antes de la versión 6.4.2, Puma exhibía un comportamiento incorrecto al analizar cuerpos de codificación de transferencia fragmentados de una manera que permitía el contrabando de solicitudes HTTP. Las versiones fijas limitan el tamaño de las extensiones de fragmentos. Sin este límite, un atacante podría provocar un consumo ilimitado de recursos (CPU, ancho de banda de red). Esta vulnerabilidad se ha solucionado en las versiones 6.4.2 y 5.6.8.","source":"nvd"}],"published":"2024-01-08T13:45:27.510Z","modified":"2026-09-10T03:49:24.667Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"version":"< 5.6.8","status":"affected"},{"version":">= 6.0.0, < 6.4.2","status":"affected"}],"vendor":"puma","product":"puma","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.4.2"}],"ecosystem":"RubyGems","package":"puma","purl":"pkg:gem/puma","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.6.8"}],"ecosystem":"RubyGems","package":"puma","purl":"pkg:gem/puma","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.6.8"},{"status":"affected","introduced":"6.0.0","fixed":"6.4.2"}],"vendor":"puma","product":"puma","cpe":"cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/puma/puma/security/advisories/GHSA-c2f4-cvqm-65w2","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/puma/puma/commit/5fc43d73b6ff193325e657a24ed76dec79133e93","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00004.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21647","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma/commit/60d5ee3734adc8cee85c3f0561af392448fe19b7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma/commit/bbb880ffb6debbfdea535b4b3eb2204d49ae151d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2024-21647.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-08T15:56:45.519Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21647","url":"https://www.cve.org/CVERecord?id=CVE-2024-21647","licence":"CVE Terms of Use","modified":"2025-11-03T21:53:27.921Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c2f4-cvqm-65w2","url":"https://github.com/advisories/GHSA-c2f4-cvqm-65w2","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:24.667Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21647","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21647","licence":"Public domain","modified":"2026-06-17T07:09:55.307Z"}],"updatedAt":"2026-11-25T22:58:35.957Z","epss":{"score":0.00958,"percentile":0.62493,"date":"2026-12-01T12:00:22.000Z"}}