{"id":"CVE-2023-40175","aliases":["CVE-2023-40175","GHSA-68xg-gqqm-vgj8"],"related":[],"kind":"vulnerability","state":"published","title":"Inconsistent Interpretation of HTTP Requests in puma","summary":"Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Impact\nPrior to version 6.3.1, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling.\n\nThe following vulnerabilities are addressed by this advisory:\n\n* Incorrect parsing of trailing fields in chunked transfer encoding bodies\n* Parsing of blank/zero-length Content-Length headers\n\n### Patches\nThe vulnerability has been fixed in 6.3.1 and 5.6.7.\n\n### Workarounds\nNo known workarounds.\n\n### References\n[HTTP Request Smuggling](https://portswigger.net/web-security/request-smuggling)\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nOpen an issue in [Puma](https://github.com/puma/puma)\nSee our [security policy](https://github.com/puma/puma/security/policy)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Puma es un servidor web Ruby/Rack construido para paralelismo. Antes de las versiones 6.3.1 y 5.6.7, Puma mostraba un comportamiento incorrecto al analizar cuerpos de codificación de transferencia en trozos y cabeceras Content-Length de longitud cero de forma que permitía el contrabando de peticiones HTTP. La gravedad de este problema depende en gran medida de la naturaleza del sitio web que utiliza Puma. Esto podría ser causado por un análisis incorrecto de los campos finales en los cuerpos de codificación de transferencia en trozos o por el análisis de cabeceras Content-Length en blanco/longitud cero. Ambos problemas han sido solucionados y esta vulnerabilidad ha sido corregida en las versiones 6.3.1 y 5.6.7.Se recomienda a los usuarios que actualicen. No se conocen soluciones para esta vulnerabilidad.","source":"nvd"}],"published":"2023-08-18T21:35:47.577Z","modified":"2026-09-10T03:49:57.566Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"version":"< 5.6.7","status":"affected"},{"version":">= 6.0.0, < 6.3.1","status":"affected"}],"vendor":"puma","product":"puma","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"5.6.7","status":"affected"},{"type":"custom","introduced":"6.0.0","fixed":"6.3.1","status":"affected"}],"vendor":"puma","product":"puma","cpe":"cpe:2.3:a:puma:puma:-:*:*:*:*:ruby:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.6.7"}],"ecosystem":"RubyGems","package":"puma","purl":"pkg:gem/puma","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","fixed":"6.3.1"}],"ecosystem":"RubyGems","package":"puma","purl":"pkg:gem/puma","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.6.7"},{"status":"affected","introduced":"6.0.0","fixed":"6.3.1"}],"vendor":"puma","product":"puma","cpe":"cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/puma/puma/security/advisories/GHSA-68xg-gqqm-vgj8","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/puma/puma/commit/690155e7d644b80eeef0a6094f9826ee41f1080a","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40175","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma/commit/7405a219801dcebc0ad6e0aa108d4319ca23f662","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma/commit/ed0f2f94b56982c687452504b95d5f1fbbe3eed1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma/releases/tag/v5.6.7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/puma/puma/releases/tag/v6.3.1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2023-40175.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-10-07T20:03:28.960Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40175","url":"https://www.cve.org/CVERecord?id=CVE-2023-40175","licence":"CVE Terms of Use","modified":"2024-10-07T20:04:46.951Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-68xg-gqqm-vgj8","url":"https://github.com/advisories/GHSA-68xg-gqqm-vgj8","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:57.566Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40175","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40175","licence":"Public domain","modified":"2026-06-17T06:16:33.543Z"}],"updatedAt":"2026-11-25T22:58:27.255Z","epss":{"score":0.00977,"percentile":0.60984,"date":"2026-11-30T12:00:22.000Z"}}