Critical severity · published Aug 18, 2023
CVE-2023-40175
Puma is a Ruby/Rack web server built for parallelism
9.8
CVSS
0.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 58% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PU
Puma · Puma
before 5.6.7; 6.0.0 before 6.3.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-40175
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-40175
Patch
https://github.com/puma/puma/commit/690155e7d644b80eeef0a6094f9826ee41f1080a
Vendor Advisory
https://github.com/puma/puma/security/advisories/GHSA-68xg-gqqm-vgj8
More from Puma
7.5
CVE-2026-47736
Puma PROXY Protocol v1 Parser Allows Remote Memory Exhaustion
7.5
CVE-2026-47737
Puma PROXY Protocol v1 Accepts Repeated Protocol Headers on Persistent Connections
7.5
CVE-2024-21647
Puma is a web server for Ruby/Rack applications built for parallelism
7.5
CVE-2022-24790
Puma is a simple, fast, multi-threaded, parallel HTTP 1.1 server for Ruby/Rack applications
7.5
CVE-2021-29509
Puma is a concurrent HTTP 1.1 server for Ruby/Rack applications
