{ "CVE_data_meta": { "ASSIGNER": "security@php.net", "DATE_PUBLIC": "2022-09-27T14:28:00.000Z", "ID": "CVE-2022-31628", "STATE": "PUBLIC", "TITLE": "phar wrapper can occur dos when using quine gzip file" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "PHP", "version": { "version_data": [ { "version_affected": "<", "version_name": "7.4.X", "version_value": "7.4.31" }, { "version_affected": "<", "version_name": "8.0.X", "version_value": "8.0.24" }, { "version_affected": "<", "version_name": "8.1.X", "version_value": "8.1.11" } ] } } ] }, "vendor_name": "PHP Group" } ] } }, "credit": [ { "lang": "eng", "value": "reported by ohseungju5 at gmail dot com" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress \"quines\" gzip files, resulting in an infinite loop." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "LOW", "baseScore": 2.3, "baseSeverity": "LOW", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "privilegesRequired": "HIGH", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-674 Uncontrolled Recursion" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://bugs.php.net/bug.php?id=81726", "name": "https://bugs.php.net/bug.php?id=81726" }, { "refsource": "FEDORA", "name": "FEDORA-2022-0b77fbd9e7", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/" }, { "refsource": "FEDORA", "name": "FEDORA-2022-afdea1c747", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/" } ] }, "solution": [ { "lang": "eng", "value": "Upgrade to PHP 7.4.31, 8.0.24, or 8.1.11." } ], "source": { "advisory": "https://bugs.php.net/bug.php?id=81726", "defect": [ "81726" ], "discovery": "EXTERNAL" } }