CVE-2022-23634Puma
Medium 5.9 No auth needed
Follow: this CVE · Puma · Puma We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 1.9% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Feb 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Puma.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | puma |
≥ 5.0.0 < 5.6.2 |
5.6.2 |
gem "puma", ">= 5.6.2" |
| RubyGems | puma |
< 4.3.11 |
4.3.11 |
gem "puma", ">= 4.3.11" |
Per OSV / GitHub Advisories (GHSA-rmj8-8hhh-gv5h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| puma | puma | < 4.3.11 |
| puma | puma | ≥ 5.0.0 < 5.6.2 |
| rubyonrails | rails | ≥ 5.0.0 < 5.2.6.2 |
| rubyonrails | rails | ≥ 6.0.0 < 6.0.4.6 |
| rubyonrails | rails | ≥ 6.1.0 < 6.1.4.6 |
| rubyonrails | rails | ≥ 7.0.0 < 7.0.2.2 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
Official advisories
- ruby4.0-rubygem-puma-6.4.3-1.5 on GA media · SUSE · openSUSE-SU-2026:10357-1 · Mar 13, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Mitigation Not Applicable Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- groups.google.com Mailing List Mitigation Patch
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory