{ "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.0, "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" }, { "refsource": "DEBIAN", "name": "DSA-5146", "url": "https://www.debian.org/security/2022/dsa-5146" }, { "refsource": "MLIST", "name": "[debian-lts-announce] 20220525 [SECURITY] [DLA 3023-1] puma security update", "url": "https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html" }, { "refsource": "GENTOO", "name": "GLSA-202208-28", "url": "https://security.gentoo.org/glsa/202208-28" }, { "refsource": "MLIST", "name": "[debian-lts-announce] 20220827 [SECURITY] [DLA 3083-1] puma security update", "url": "https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html" }, { "refsource": "FEDORA", "name": "FEDORA-2022-de968d1b6c", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/" }, { "refsource": "FEDORA", "name": "FEDORA-2022-52d0032596", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/" }, { "refsource": "FEDORA", "name": "FEDORA-2022-7c8b29195f", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/" } ] }, "source": { "advisory": "GHSA-rmj8-8hhh-gv5h", "discovery": "UNKNOWN" } }