CVE-2023-40175
CRITICAL 9.8CVSS 3.1Puma HTTP Request/Response Smuggling vulnerability
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.
- Published
- 18 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-444
- Also known as
- GHSA-68xg-gqqm-vgj8
- Sources
- NVDJSONOSV GHSA-68xg-gqqm-vgj8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | puma | pumacpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* |
< 5.6.7 | 5.6.7 |
| NVD | puma | pumacpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* |
>= 6.0.0, < 6.3.1 | 6.3.1 |
| OSV | RubyGems | puma | < 5.6.7 | 5.6.7 |
| OSV | RubyGems | puma | >= 6.0.0, < 6.3.1 | 6.3.1 |
References
- https://github.com/puma/puma/commit/690155e7d644b80eeef0a6094f9826ee41f1080a · Patch, WEB
- https://github.com/puma/puma/security/advisories/GHSA-68xg-gqqm-vgj8 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-40175 · ADVISORY
- https://github.com/puma/puma/commit/7405a219801dcebc0ad6e0aa108d4319ca23f662 · WEB
- https://github.com/puma/puma/commit/ed0f2f94b56982c687452504b95d5f1fbbe3eed1 · WEB
- https://github.com/puma/puma · PACKAGE
- https://github.com/puma/puma/releases/tag/v5.6.7 · WEB
- https://github.com/puma/puma/releases/tag/v6.3.1 · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2023-40175.yml · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 18 Aug 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2023)