{"id":"CVE-2020-7068","state":"PUBLISHED","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.","publishedAt":"2020-09-09T17:58:42.837Z","updatedAt":"2024-09-17T00:36:03.824Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L","source":"php"},"assigner":"php","products":["PHP Group PHP"],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.21","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.9","versionType":"custom"},{"version":"7.2.x","status":"affected","lessThan":"7.2.33","versionType":"custom"}]}],"references":["https://bugs.php.net/bug.php?id=79797","https://security.gentoo.org/glsa/202009-10","https://security.netapp.com/advisory/ntap-20200918-0005/","https://www.debian.org/security/2021/dsa-4856","https://www.tenable.com/security/tns-2021-14"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7068.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7068","state":"PUBLISHED","datePublished":"2020-09-09T17:58:42.837Z","dateUpdated":"2024-09-17T00:36:03.824Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2020-01-15T00:00:00.000Z"},"containers":{"cna":{"title":"Use of freed hash key in the phar_parse_zipfile function","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.21","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.9","versionType":"custom"},{"version":"7.2.x","status":"affected","lessThan":"7.2.33","versionType":"custom"}]}],"references":[{"url":"https://bugs.php.net/bug.php?id=79797","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202009-10","name":"GLSA-202009-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://security.netapp.com/advisory/ntap-20200918-0005/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2021/dsa-4856","name":"DSA-4856","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","dateUpdated":"2021-07-22T17:07:33.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b"},"configurations":[{"lang":"en","value":"phar extension must be enabled"}],"credits":[{"lang":"en","value":"grigoritchy at gmail dot com"}],"datePublic":"2020-08-03T00:00:00.000Z","source":{"defect":["https://bugs.php.net/bug.php?id=79797"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2020-08-03T16:16:00.000Z","ID":"CVE-2020-7068","STATE":"PUBLIC","TITLE":"Use of freed hash key in the phar_parse_zipfile function"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"version_affected":"<","version_name":"7.3.x","version_value":"7.3.21"},{"version_affected":"<","version_name":"7.4.x","version_value":"7.4.9"},{"version_affected":"<","version_name":"7.2.x","version_value":"7.2.33"}]}}]},"vendor_name":"PHP Group"}]}},"configuration":[{"lang":"en","value":"phar extension must be enabled"}],"credit":[{"lang":"eng","value":"grigoritchy at gmail dot com"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"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"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416 Use After Free"}]}]},"references":{"reference_data":[{"name":"https://bugs.php.net/bug.php?id=79797","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=79797"},{"name":"GLSA-202009-10","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202009-10"},{"name":"https://security.netapp.com/advisory/ntap-20200918-0005/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20200918-0005/"},{"name":"DSA-4856","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4856"},{"name":"https://www.tenable.com/security/tns-2021-14","refsource":"CONFIRM","url":"https://www.tenable.com/security/tns-2021-14"}]},"source":{"defect":["https://bugs.php.net/bug.php?id=79797"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.php.net/bug.php?id=79797","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202009-10","name":"GLSA-202009-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20200918-0005/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.debian.org/security/2021/dsa-4856","name":"DSA-4856","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T09:18:03.035Z"}}]}}}