{ "CVE_data_meta": { "ASSIGNER": "security@php.net", "DATE_PUBLIC": "2022-09-27T14:28:00.000Z", "ID": "CVE-2022-31629", "STATE": "PUBLIC", "TITLE": "$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities" }, "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 squarcina 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 vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-20 Improper Input Validation" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "url": "https://bugs.php.net/bug.php?id=81727", "name": "https://bugs.php.net/bug.php?id=81727" }, { "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=81727", "defect": [ "81727" ], "discovery": "EXTERNAL" } }