{ "CVE_data_meta": { "ASSIGNER": "security@php.net", "DATE_PUBLIC": "2022-07-05T06:05:00.000Z", "ID": "CVE-2022-31627", "STATE": "PUBLIC", "TITLE": "Heap buffer overflow in finfo_buffer" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "PHP", "version": { "version_data": [ { "version_affected": "<", "version_name": "8.1.X", "version_value": "8.1.8" } ] } } ] }, "vendor_name": "PHP Group" } ] } }, "credit": [ { "lang": "eng", "value": "reported by xd4rker at gmail dot com" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "In PHP versions 8.1.x below 8.1.8, when fileinfo functions, such as finfo_buffer, due to incorrect patch applied to the third party code from libmagic, incorrect function may be used to free allocated memory, which may lead to heap corruption." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": { "cvss": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 7.7, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-590 Free of Memory not on the Heap" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://bugs.php.net/bug.php?id=81723", "name": "https://bugs.php.net/bug.php?id=81723" }, { "refsource": "CONFIRM", "name": "https://security.netapp.com/advisory/ntap-20220826-0008/", "url": "https://security.netapp.com/advisory/ntap-20220826-0008/" }, { "refsource": "GENTOO", "name": "GLSA-202209-20", "url": "https://security.gentoo.org/glsa/202209-20" } ] }, "source": { "advisory": "81723", "defect": [ "https://bugs.php.net/bug.php?id=81723" ], "discovery": "EXTERNAL" } }