{"id":"CVE-2022-23634","summary":"Information Exposure when using Puma with Rails","details":"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.","aliases":["GHSA-rmj8-8hhh-gv5h"],"modified":"2026-04-10T04:44:55.356378Z","published":"2022-02-11T21:40:11Z","related":["GHSA-rmj8-8hhh-gv5h","GHSA-wh98-p28r-vrc9","SUSE-SU-2022:1515-1","openSUSE-SU-2024:11847-1","openSUSE-SU-2024:12900-1","openSUSE-SU-2024:13720-1","openSUSE-SU-2025:15123-1","openSUSE-SU-2026:10357-1"],"database_specific":{"cwe_ids":["CWE-200"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23634.json"},"references":[{"type":"WEB","url":"https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23634.json"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rmj8-8hhh-gv5h"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wh98-p28r-vrc9"},{"type":"ADVISORY","url":"https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23634"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-28"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5146"},{"type":"FIX","url":"https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/puma/puma","events":[{"introduced":"13e18e8078c800adfc52af687acc1d8de5f3988d"},{"fixed":"c6340d1fabcd02c4cc5c1d4effaeba393dedb1a8"}],"database_specific":{"versions":[{"introduced":"5.0.0"},{"fixed":"5.6.2"}]}},{"type":"GIT","repo":"https://github.com/puma/puma","events":[{"introduced":"0"},{"fixed":"4ce94d7975d755f5ecdf50c5134b6d8af081e3ad"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"4.3.11"}]}}],"versions":["v1.1.0","v1.1.1","v1.2.0","v1.2.1","v1.2.2","v1.3.0","v1.3.1","v1.4.0","v1.5.0","v2.0.0","v2.0.0.b2","v2.0.0.b3","v2.0.0.b4","v2.0.0.b5","v2.0.0.b6","v2.0.0.b7","v2.0.1","v2.1.0","v2.1.1","v2.10.0","v2.10.1","v2.10.2","v2.11.0","v2.11.2","v2.11.3","v2.12.0","v2.12.1","v2.12.2","v2.12.3","v2.13.0","v2.13.1","v2.13.2","v2.13.3","v2.13.4","v2.14.0","v2.15.0","v2.15.1","v2.15.2","v2.15.3","v2.16.0","v2.2.0","v2.2.1","v2.2.2","v2.3.0","v2.3.1","v2.3.2","v2.4.0","v2.4.1","v2.5.0","v2.5.1","v2.6.0","v2.7.0","v2.7.1","v2.8.1","v2.8.2","v2.9.0","v2.9.1","v2.9.2","v3.0.0","v3.0.0.rc1","v3.0.1","v3.0.2","v3.1.0","v3.1.1","v3.10.0","v3.11.0","v3.11.1","v3.11.2","v3.11.3","v3.11.4","v3.12.0","v3.2.0","v3.3.0","v3.4.0","v3.5.0","v3.5.1","v3.5.2","v3.6.0","v3.7.1","v3.8.0","v3.9.0","v3.9.1","v4.0.0","v4.0.1","v4.1.0","v4.2.0","v4.2.1","v4.3.0","v4.3.1","v4.3.10","v4.3.2","v4.3.3","v4.3.4","v4.3.5","v4.3.6","v4.3.7","v4.3.8","v4.3.9","v5.0.0","v5.0.1","v5.0.2","v5.0.3","v5.1.0","v5.2.0","v5.2.1","v5.2.2","v5.3.0","v5.3.1","v5.3.2","v5.4.0","v5.5.0","v5.5.1","v5.5.2","v5.6.0","v5.6.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23634.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/rails/rails","events":[{"introduced":"2efddadd6cba4e2129acedf1d402d11abcc03996"},{"fixed":"46fe51b4875ba947cd3317cef420042f22aa8ffd"},{"introduced":"66cabeda2c46c582d19738e1318be8d59584cc5b"},{"fixed":"5f85a37f49227a76ec472eb74954b54806028641"},{"introduced":"914caca2d31bd753f47f9168f2a375921d9e91cc"},{"fixed":"10a2c77e901eb15b486f2c72fd9997bd0e2d506c"},{"introduced":"984c3ef2775781d47efa9f541ce570daa2434a80"},{"fixed":"2459c20afb508c987347f52148210d874a9af4fa"}],"database_specific":{"versions":[{"introduced":"5.0.0"},{"fixed":"5.2.6.2"},{"introduced":"6.0.0"},{"fixed":"6.0.4.6"},{"introduced":"6.1.0"},{"fixed":"6.1.4.6"},{"introduced":"7.0.0"},{"fixed":"7.0.2.2"}]}}],"versions":["v6.0.0","v6.0.4","v6.0.4.1","v6.0.4.2","v6.0.4.3","v6.0.4.4","v6.0.4.5","v6.1.0","v6.1.1","v6.1.2","v6.1.3","v6.1.4","v6.1.4.1","v6.1.4.2","v6.1.4.3","v6.1.4.4","v6.1.4.5","v7.0.0","v7.0.1","v7.0.2","v7.0.2.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23634.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"}]}