PT-2022-7649
CVE-2022-23634
·
Published
2022-02-11
·
Updated
2026-03-13
Description by
CVSS 3.1
8.0
HighMetricsAV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Puma versions prior to 5.6.2
Puma version 4.3.11
Rails versions prior to 7.0.2.2
Rails versions prior to 6.1.4.6
Rails versions prior to 6.0.4.6
Rails versions prior to 5.2.6.2
Description
The issue is related to information leakage due to Puma not always calling
close on the response body and Rails depending on the response body being closed for its CurrentAttributes implementation to work correctly. This combination of behaviors causes information leakage. The problem can be exploited by an attacker to gain access to confidential information.Recommendations
For Puma versions prior to 5.6.2, upgrade to version 5.6.2 or 4.3.11.
For Rails versions prior to 7.0.2.2, upgrade to version 7.0.2.2.
For Rails versions prior to 6.1.4.6, upgrade to version 6.1.4.6.
For Rails versions prior to 6.0.4.6, upgrade to version 6.0.4.6.
For Rails versions prior to 5.2.6.2, upgrade to version 5.2.6.2.
As a temporary workaround, consider using the provided middleware to guard against the issue.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾