Inconsistent Interpretation of HTTP Requests in puma
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| puma | puma | before 5.6.7; 6.0.0 to before 6.3.1 | 5.6.7, 6.3.1 | Patch available | CNA |
| — | puma (RubyGems) | before 5.6.7 | 5.6.7 | Patch available | GHSA-68xg-gqqm-vgj8 |
| — | puma (RubyGems) | 6.0.0 to before 6.3.1 | 6.3.1 | Patch available | GHSA-68xg-gqqm-vgj8 |
- puma Vendorpuma Affected before 5.6.7; 6.0.0 to before 6.3.1 Fixed in 5.6.7, 6.3.1 Patch available CNA
- puma (RubyGems) Vendor— Affected before 5.6.7 Fixed in 5.6.7 Patch available GHSA-68xg-gqqm-vgj8
- puma (RubyGems) Vendor— Affected 6.0.0 to before 6.3.1 Fixed in 6.3.1 Patch available GHSA-68xg-gqqm-vgj8
Remediation
- Fix · CNA puma (puma) Fixed in 5.6.7, 6.3.1
- Fix · GHSA-68xg-gqqm-vgj8 puma (RubyGems) Fixed in 5.6.7 Advisory →
- Fix · GHSA-68xg-gqqm-vgj8 puma (RubyGems) Fixed in 6.3.1 Advisory →
Red Hat 1 advisory
- RHSA-2024:0797 Released 2024-02-13 · Red Hat rating ImportantSatellite 6.14.2 Async Security Update
- Red Hat Satellite 6.14 for RHEL 8 candlepin-4.3.11-1.el8sat, candlepin-selinux-4.3.11-1.el8sat, mosquitto-2.0.17-1.el8sat +5
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat 3scale API Management Platform 2 | Affected | No fix yet |
| Red Hat Satellite 6 | Affected | No fix yet |
| Red Hat Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Satellite 6.14 for RHEL 8 | Fixed | RHSA-2024:0797 |
Not affected: 1 product
- Red Hat Satellite 6.14 for RHEL 8
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40175
- 2026-10-03 Alias added: GHSA-68xg-gqqm-vgj8
References
Advisory 2
Other 6
- https://github.com/puma/puma/commit/7405a219801dcebc0ad6e0aa108d4319ca23f662
- https://github.com/puma/puma/commit/ed0f2f94b56982c687452504b95d5f1fbbe3eed1
- https://github.com/puma/puma
- https://github.com/puma/puma/releases/tag/v5.6.7
- https://github.com/puma/puma/releases/tag/v6.3.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2023-40175.yml
More Puma vulnerabilities
- TI-2022-08603 HTTP Request Smuggling in puma CVSS 3.1CRITICAL 9.1
- TI-2022-07686 Information Exposure when using Puma with Rails CVSS 3.1HIGH 8.0
- TI-2020-08950 HTTP Smuggling via Transfer-Encoding Header in Puma CVSS 3.1HIGH 7.5
- TI-2020-08951 HTTP Smuggling via Transfer-Encoding Header in Puma CVSS 3.1HIGH 7.5
- TI-2020-04303 HTTP Response Splitting in Puma CVSS 3.1HIGH 7.5
- TI-2019-12551 Potential DOS attack in Puma CVSS 3.1HIGH 7.5
Sources
- CVE-2023-40175 · CVE Program
- CVE-2023-40175 · NVD
- FIRST EPSS
- GHSA-68xg-gqqm-vgj8 · GitHub Advisory Database · CC BY 4.0
- CVE-2023-40175 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences