CVE-2022-23634

Information Exposure when using Puma with Rails

MEDIUM
5.9
CVSS Score
Published: February 11, 2022 at 09:40 PM UTC
Updated: June 17, 2026 at 04:30 AM UTC
4 products affected across 4 vendorsDebian LinuxFedoraRails

Using puma by puma?

Get instant alerts when new vulnerabilities affect puma - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Puma· Pumarubygems
95%
v < 4.3.11v < 5.6.25.0.0 ≤ v < 5.6.2
Affected range stops below 4.3.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.6.2, so it looks safe — our inference, not a vendor statement
5.0.0 ≤ v < 5.2.6.26.0.0 ≤ v < 6.0.4.66.1.0 ≤ v < 6.1.4.67.0.0 ≤ v < 7.0.2.2
Affected range stops below 5.2.6.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.0.4.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.1.4.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.2.2, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200CWE-404

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card