cve.bz

CVE-2022-23634 Improper Resource Shutdown or Release

5.9 mediumEPSS 2.1%Fix available

Medium (5.9). EPSS 2.1% estimated probability of exploitation activity in the next 30 days. Fixed in puma 4.3.11, 5.6.2.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-404 Improper Resource Shutdown or Release
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-23634 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23634?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23634?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23634 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
puma:pumabefore 4.3.11
puma:pumafrom 5.0.0 before 5.6.2
rubyonrails:railsfrom 5.0.0 before 5.2.6.2
rubyonrails:railsfrom 6.0.0 before 6.0.4.6
rubyonrails:railsfrom 6.1.0 before 6.1.4.6
rubyonrails:railsfrom 7.0.0 before 7.0.2.2
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rmj8-8hhh-gv5hRubyGemspuma>=5.0.0 <5.6.25.6.2
GHSA-rmj8-8hhh-gv5hRubyGemspuma<4.3.114.3.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9puma3.6.0-1+deb9u2DLA-3023-1
Debian10puma3.12.0-2+deb10u3DLA-3083-1
Debian11puma4.3.8-1+deb11u2DSA-5146-1
Debian12, 13, 14puma5.6.4-1DEBIAN-CVE-2022-23634
UbuntuPro:20.04:LTSpuma3.12.4-1ubuntu2+esm1UBUNTU-CVE-2022-23634 USN-6682-1
UbuntuPro:22.04:LTSpuma5.5.2-2ubuntu2+esm1UBUNTU-CVE-2022-23634 USN-6682-1
Red Hatsatellite:6.11::el7candlepin0:4.1.13-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7tfm-rubygem-actionpack0:6.0.4.7-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7tfm-rubygem-puma, tfm-rubygem-puma-debuginfo0:5.6.2-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7tfm-rubygem-sidekiq0:5.2.10-1.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7, satellite_capsule:6.11::el7libsolv0:0.7.22-1.el7pcRHSA-2022:5498
Red Hatsatellite:6.11::el7, satellite_capsule:6.11::el7, satellite_utils:6.11::el7foreman0:3.1.1.21-2.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el7, satellite_capsule:6.11::el7, satellite_utils:6.11::el7satellite0:6.11.0-2.el7satRHSA-2022:5498
Red Hatsatellite:6.11::el8candlepin0:4.1.13-1.el8satRHSA-2022:5498
Red Hatsatellite:6.11::el8rubygem-actionpack0:6.0.4.7-1.el8satRHSA-2022:5498
Red Hatsatellite:6.11::el8rubygem-puma, rubygem-puma-debuginfo, rubygem-puma-debugsource0:5.6.2-1.el8satRHSA-2022:5498
Red Hatsatellite:6.11::el8rubygem-sidekiq0:5.2.10-1.el8satRHSA-2022:5498
Red Hatsatellite:6.11::el8, satellite_capsule:6.11::el8libsolv0:0.7.22-1.el8pcRHSA-2022:5498
5 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise High Availability Extension 15 SP2 and 1 morerubygem-puma4.3.11-150000.3.6.2SUSE-SU-2022:1515-1
openSUSELeap 15.3, Leap 15.4rubygem-puma4.3.11-150000.3.6.2SUSE-SU-2022:1515-1
openSUSETumbleweedruby3.2-rubygem-puma6.0.0-2.1openSUSE-SU-2024:12900-1
openSUSETumbleweedrubygem-puma5.6.2-1.1openSUSE-SU-2024:11847-1
openSUSETumbleweedrubygem-puma6.4.2-1.1openSUSE-SU-2024:13720-1
openSUSETumbleweedrubygem-puma6.4.3-1.3openSUSE-SU-2025:15123-1
openSUSETumbleweedrubygem-puma6.4.3-1.5openSUSE-SU-2026:10357-1
Rocky Linux8libdb0:5.3.28-42.el8_4RLSA-2022:5498

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Satellite 6.11 for RHEL 7tfm-rubygem-puma-0:5.6.2-1.el7satFixed 2022-07-05RHSA-2022:5498
Red Hat Satellite 6.11 for RHEL 8tfm-rubygem-puma-0:5.6.2-1.el8satFixed 2022-07-05RHSA-2022:5498
CloudForms Management Engine 5rubygem-pumaWill not fix
CloudForms Management Engine 5rubygem-railsWill not fix
Red Hat Satellite 6tfm-rubygem-railsAffected
Red Hat Storage 3rubygem-pumaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23634.

Attack patterns (CAPEC)

  • CAPEC-125 Flooding Likelihood: High · Severity: Medium
  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium
  • CAPEC-131 Resource Leak Exposure Likelihood: Medium · Severity: Medium
  • CAPEC-494 TCP Fragmentation
  • CAPEC-495 UDP Fragmentation
  • CAPEC-496 ICMP Fragmentation
  • CAPEC-666 BlueSmacking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON