Skip to main content
Network Thinking Solutions Logo

CVE-2022-23634

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.

All CVEs
CVE-2022-23634Published 2/11/2022

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.

Vendor advisory
CVSS8.0High

Overview

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.

Published
2/11/2022
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
puma
puma
< 4.3.11

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
puma
puma
≥ 5.0.0, < 5.6.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
rails
rubyonrails
≥ 5.0.0, < 5.2.6.2

Verify advisory

Source
rails
rubyonrails
≥ 6.0.0, < 6.0.4.6

Verify advisory

Source
rails
rubyonrails
≥ 6.1.0, < 6.1.4.6

Verify advisory

Source
rails
rubyonrails
≥ 7.0.0, < 7.0.2.2

Verify advisory

Source
debian linux
debian
9.0

Verify advisory

Source
debian linux
debian
10.0

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
fedora
fedoraproject
35

Verify advisory

Source
fedora
fedoraproject
36

Verify advisory

Source
fedora
fedoraproject
37

Verify advisory

Source
puma
puma
>= 5.0.0, < 5.6.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
puma
puma
< 4.3.11

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.