CVE-2022-23634

Information Exposure when using Puma with Rails

Published Feb 11, 2022 CVSS 3.1 · 8 High EPSS 2.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3023-1 puma security update
Debian DLA Debian DLA DLA-3083-1 puma security update
Debian DSA Debian DSA DSA-5146-1 puma security update
EUVD EUVD EUVD-2022-1175 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.
Github GHSA Github GHSA GHSA-rmj8-8hhh-gv5h Puma used with Rails may lead to Information Exposure
Ubuntu USN Ubuntu USN USN-6682-1 Puma vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00285}

epss

{'score': 0.00309}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 7:05 PM
Reserved
Jan 19, 2022, 12:00 AM
Status
Modified
Published
Feb 11, 2022, 10:15 PM
Modified
Jun 17, 2026, 4:30 AM
Severity
Important
Public date
Feb 11, 2022, 12:00 AM