{"id":"CVE-2022-23634","state":"PUBLISHED","title":"Information Exposure when using Puma with Rails","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.","publishedAt":"2022-02-11T21:40:11.000Z","updatedAt":"2025-04-23T19:05:33.266Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["puma puma"],"affected":[{"vendor":"puma","product":"puma","versions":[{"version":">= 5.0.0, < 5.6.2","status":"affected"},{"version":"< 4.3.11","status":"affected"}]}],"references":["https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h","https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb","https://github.com/advisories/GHSA-rmj8-8hhh-gv5h","https://github.com/advisories/GHSA-wh98-p28r-vrc9","https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1","https://www.debian.org/security/2022/dsa-5146","https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html","https://security.gentoo.org/glsa/202208-28","https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/","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/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T19:49:40.939Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/23xxx/CVE-2022-23634.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-23634","state":"PUBLISHED","datePublished":"2022-02-11T21:40:11.000Z","dateUpdated":"2025-04-23T19:05:33.266Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-01-19T00:00:00.000Z"},"containers":{"cna":{"title":"Information Exposure when using Puma with Rails","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"puma","product":"puma","versions":[{"version":">= 5.0.0, < 5.6.2","status":"affected"},{"version":"< 4.3.11","status":"affected"}]}],"references":[{"url":"https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-rmj8-8hhh-gv5h","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-wh98-p28r-vrc9","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2022/dsa-5146","name":"DSA-5146","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html","name":"[debian-lts-announce] 20220525 [SECURITY] [DLA 3023-1] puma security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/202208-28","name":"GLSA-202208-28","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html","name":"[debian-lts-announce] 20220827 [SECURITY] [DLA 3083-1] puma security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/","name":"FEDORA-2022-de968d1b6c","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/","name":"FEDORA-2022-52d0032596","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/","name":"FEDORA-2022-7c8b29195f","tags":["vendor-advisory","x_refsource_FEDORA"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-09-12T19:06:38.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-rmj8-8hhh-gv5h","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-23634","STATE":"PUBLIC","TITLE":"Information Exposure when using Puma with Rails"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"puma","version":{"version_data":[{"version_value":">= 5.0.0, < 5.6.2"},{"version_value":"< 4.3.11"}]}}]},"vendor_name":"puma"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"}]}]},"references":{"reference_data":[{"name":"https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h","refsource":"CONFIRM","url":"https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h"},{"name":"https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb","refsource":"MISC","url":"https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb"},{"name":"https://github.com/advisories/GHSA-rmj8-8hhh-gv5h","refsource":"MISC","url":"https://github.com/advisories/GHSA-rmj8-8hhh-gv5h"},{"name":"https://github.com/advisories/GHSA-wh98-p28r-vrc9","refsource":"MISC","url":"https://github.com/advisories/GHSA-wh98-p28r-vrc9"},{"name":"https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1","refsource":"MISC","url":"https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1"},{"name":"DSA-5146","refsource":"DEBIAN","url":"https://www.debian.org/security/2022/dsa-5146"},{"name":"[debian-lts-announce] 20220525 [SECURITY] [DLA 3023-1] puma security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html"},{"name":"GLSA-202208-28","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202208-28"},{"name":"[debian-lts-announce] 20220827 [SECURITY] [DLA 3083-1] puma security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html"},{"name":"FEDORA-2022-de968d1b6c","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/"},{"name":"FEDORA-2022-52d0032596","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/"},{"name":"FEDORA-2022-7c8b29195f","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/"}]},"source":{"advisory":"GHSA-rmj8-8hhh-gv5h","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/advisories/GHSA-rmj8-8hhh-gv5h","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/advisories/GHSA-wh98-p28r-vrc9","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5146","name":"DSA-5146","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html","name":"[debian-lts-announce] 20220525 [SECURITY] [DLA 3023-1] puma security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-28","name":"GLSA-202208-28","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html","name":"[debian-lts-announce] 20220827 [SECURITY] [DLA 3083-1] puma security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/","name":"FEDORA-2022-de968d1b6c","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/","name":"FEDORA-2022-52d0032596","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/","name":"FEDORA-2022-7c8b29195f","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:51:45.584Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T15:56:10.852401Z","id":"CVE-2022-23634","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T19:05:33.266Z"}}]}}}