Live threats

All CVEs / Puma

CVE-2023-40175Puma

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.0%
probability of exploitation in 30 days · percentile 61
Auth required
No
Published
Aug 18, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-444
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Puma.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems puma < 5.6.7 5.6.7 gem "puma", ">= 5.6.7"
RubyGems puma ≥ 6.0.0 < 6.3.1 6.3.1 gem "puma", ">= 6.3.1"

Per OSV / GitHub Advisories (GHSA-68xg-gqqm-vgj8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pumapuma< 5.6.7
pumapuma≥ 6.0.0 < 6.3.1

Official sources

References

Links published by the sources. Open them with care.