CVEfocus › CVE database › CVE-2022-23634

CVE-2022-23634Information Exposure when using Puma with Rails

CVSS 8.0 HighEPSS 1.9% (higher than 81% of CVEs)Published 2022-02-11Updated 2025-04-23Assigner: GitHub_M

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.

CWE-200

What to do

Fixed builds are available from Debian, Rocky Linux, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
2Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04pumaNot affected
vulnerable_code_not_present
Ubuntu 25.10pumaNot affected
vulnerable_code_not_present
Ubuntu 24.04pumaNot affected
vulnerable_code_not_present
Ubuntu 22.04pumaFix pending5.5.2-2ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-23634
Ubuntu 20.04pumaFix pending3.12.4-1ubuntu2+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-23634
Debian 14pumaFixed5.6.4-1DEBIAN-CVE-2022-23634
Debian 13pumaFixed5.6.4-1DEBIAN-CVE-2022-23634
Debian 12pumaFixed5.6.4-1DEBIAN-CVE-2022-23634
Rocky Linux 8libdbFixed0:5.3.28-42.el8_4RLSA-2022:5498
RubyGems libraryactionpackFixed7.0.2.2GHSA-wh98-p28r-vrc9
RubyGems librarypumaFixed5.6.2GHSA-rmj8-8hhh-gv5h

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.