CVE-2022-23634: Puma is a Ruby/Rack web server built for parallelism
53
This month
HIGH 8.0WATCHLISTUPGRADEUPGRADEMITIGATE
CVE-2022-23634 is a high-severity flaw (CVSS 8.0) affecting puma, rails, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
debian debian linux MITIGATE
Affected: 9.0 · 10.0 · 11.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
fedoraproject fedora MITIGATE
Affected: 35 · 36 · 37
Fixed in: no fixed release known
Safe to downgrade to: a release before 35
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-23634?
puma: upgrade to 4.3.11, 5.6.2; rails: upgrade to 5.2.6.2, 6.0.4.6, 6.1.4.6, 7.0.2.2; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-23634 being exploited?
CVE-2022-23634 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-23634 affect?
CVE-2022-23634 affects puma, rails, debian linux. Severity is high (CVSS 8.0). 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 `