title: Use of freed hash key in the phar_parse_zipfile function
description: In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.
problem types: CWE-416 Use After Free
affected:
{
product: PHP
vendor: PHP Group
versions:
lessThan: 7.3.21, status: affected, version: 7.3.x, versionType: custom
lessThan: 7.4.9, status: affected, version: 7.4.x, versionType: custom
lessThan: 7.2.33, status: affected, version: 7.2.x, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: HIGH
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 4.8
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
version: 3.1
]