CVE-2022-23634
Puma used with Rails may lead to Information Exposure
Record from NVD · Published February 11, 2022
gitlab-puma is fixed in 5.6.2 and 4.3.11 (RubyGems)
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.
EPSS 2.11% · 82.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gitlab-puma | RubyGems | 5.6.2, 4.3.11 |
| puma | RubyGems | 5.6.2, 4.3.11 |
| puma | puma | 5.6.2, 4.3.11 |
| rails | rubyonrails | 7.0.2.2, 6.1.4.6, 6.0.4.6, 5.2.6.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| debian | debian_linux | 10.0, 9.0, 11.0 |
| fedoraproject | fedora | 35, 37, 36 |
| puma | puma | 0, 5.0.0 |
| rubyonrails | rails | 7.0.0, 6.1.0, 6.0.0 |
Timeline
- Feb 11, 2022 CVE Published
- Feb 12, 2022 EPSS Score (30 in total, the first dated here)
- Aug 16, 2022 CVE Updated
- Mar 17, 2026 Security Advisory (9 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (3 in total, the first dated here)
- Jul 4, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-23634
vulnetix vdb fixes CVE-2022-23634
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-23634/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb fix
- https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html advisory
- https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html advisory
- https://security.gentoo.org/glsa/202208-28 advisory
- https://www.debian.org/security/2022/dsa-5146 advisory
- https://github.com/advisories/GHSA-rmj8-8hhh-gv5h advisory
- https://github.com/advisories/GHSA-wh98-p28r-vrc9 advisory
- https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h patch
- https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1 mailing_list
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/ technical
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/ technical
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/ technical