Live threats

All CVEs / Puma

CVE-2022-23634Puma

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Feb 11, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-404
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

Puma is a Ruby/Rack web server built for parallelism. Prior to `puma` version `5.6.2`, `puma` may not always call `close` on the response body. Rails, prior to version `7.0.2.2`, depended on the response body being closed in order for its `CurrentAttributes` implementation to work correctly. The combination of these two behaviors (Puma not closing the body + Rails' Executor implementation) causes information leakage. This problem is fixed in Puma versions 5.6.2 and 4.3.11. This problem is fixed in Rails versions 7.02.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2. Upgrading to a patched Rails _or_ Puma version fixes the 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.0.0 < 5.6.2 5.6.2 gem "puma", ">= 5.6.2"
RubyGems puma < 4.3.11 4.3.11 gem "puma", ">= 4.3.11"

Per OSV / GitHub Advisories (GHSA-rmj8-8hhh-gv5h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pumapuma< 4.3.11
pumapuma≥ 5.0.0 < 5.6.2
rubyonrailsrails≥ 5.0.0 < 5.2.6.2
rubyonrailsrails≥ 6.0.0 < 6.0.4.6
rubyonrailsrails≥ 6.1.0 < 6.1.4.6
rubyonrailsrails≥ 7.0.0 < 7.0.2.2
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora35
fedoraprojectfedora36
fedoraprojectfedora37

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.