CVE-2022-23634
MEDIUM 5.9CVSS 3.1Puma used with Rails may lead to Information Exposure
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.
- Published
- 11 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200CWE-404
- Also known as
- GHSA-rmj8-8hhh-gv5h
- Sources
- NVDJSONOSV GHSA-rmj8-8hhh-gv5hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | puma | pumacpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* |
< 4.3.11 | 4.3.11 |
| NVD | puma | pumacpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:* |
>= 5.0.0, < 5.6.2 | 5.6.2 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.2.6.2 | 5.2.6.2 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 6.0.0, < 6.0.4.6 | 6.0.4.6 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 6.1.0, < 6.1.4.6 | 6.1.4.6 |
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.2.2 | 7.0.2.2 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| OSV | RubyGems | puma | >= 5.0.0, < 5.6.2 | 5.6.2 |
| OSV | RubyGems | puma | < 4.3.11 | 4.3.11 |
References
- https://github.com/advisories/GHSA-rmj8-8hhh-gv5h · Third Party Advisory, ADVISORY
- https://github.com/advisories/GHSA-wh98-p28r-vrc9 · Mitigation, Not Applicable, Third Party Advisory, ADVISORY
- https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb · Patch, Third Party Advisory, WEB
- https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h · Patch, Third Party Advisory, WEB
- https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1 · Mailing List, Mitigation, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/
- https://security.gentoo.org/glsa/202208-28 · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5146 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-23634 · ADVISORY
- https://github.com/puma/puma · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2022-23634.yml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Feb 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Feb 2022)