# CVE-2022-23634: Information Exposure when using Puma with Rails

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.11%, higher than 82% of CVEs (2026-12-01)
- Published: 2022-02-11T21:33:23.000Z
- Modified: 2026-06-17T04:30:31.703Z
- Also known as: GHSA-rmj8-8hhh-gv5h
- Weaknesses: CWE-200, CWE-404
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- puma puma: >= 5.0.0, < 5.6.2; < 4.3.11; before 4.3.11; from 5.0.0 before 5.6.2
- puma (RubyGems): from 5.0.0 before 5.6.2; before 4.3.11
- rubyonrails rails: from 5.0.0 before 5.2.6.2; from 6.0.0 before 6.0.4.6; from 6.1.0 before 6.1.4.6; from 7.0.0 before 7.0.2.2
- debian debian_linux: 9.0; 10.0; 11.0
- fedoraproject fedora: 35; 36; 37

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h> (patch, third-party-advisory, web)
- <https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb> (patch, third-party-advisory, web)
- <https://github.com/advisories/GHSA-rmj8-8hhh-gv5h> (advisory, third-party-advisory)
- <https://github.com/advisories/GHSA-wh98-p28r-vrc9> (advisory, mitigation, not-applicable, third-party-advisory)
- <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://www.debian.org/security/2022/dsa-5146> (third-party-advisory, vendor-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html> (mailing-list, third-party-advisory, web)
- <https://security.gentoo.org/glsa/202208-28> (third-party-advisory, vendor-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/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/> (vendor-advisory)
- <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)

## Sources

- CVE List: [CVE-2022-23634](https://www.cve.org/CVERecord?id=CVE-2022-23634), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-rmj8-8hhh-gv5h](https://github.com/advisories/GHSA-rmj8-8hhh-gv5h), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-23634](https://nvd.nist.gov/vuln/detail/CVE-2022-23634), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23634 · Whole record: https://cve.day/CVE-2022-23634.json · Rebuilt by cve.day 2026-11-25T22:58:09.657Z
