{"id":"CVE-2020-7061","state":"PUBLISHED","title":"heap-buffer-overflow in phar_extract_file","description":"In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.","publishedAt":"2020-02-27T20:25:14.751Z","updatedAt":"2024-09-17T01:21:01.352Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/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.15","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.3","versionType":"custom"}],"platforms":["Windows"]}],"references":["https://bugs.php.net/bug.php?id=79171","https://security.gentoo.org/glsa/202003-57","https://www.tenable.com/security/tns-2021-14"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:47:41.446Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/7xxx/CVE-2020-7061.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-7061","state":"PUBLISHED","datePublished":"2020-02-27T20:25:14.751Z","dateUpdated":"2024-09-17T01:21:01.352Z","assignerShortName":"php","assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","dateReserved":"2020-01-15T00:00:00.000Z"},"containers":{"cna":{"title":"heap-buffer-overflow in phar_extract_file","descriptions":[{"lang":"en","value":"In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash."}],"affected":[{"vendor":"PHP Group","product":"PHP","versions":[{"version":"7.3.x","status":"affected","lessThan":"7.3.15","versionType":"custom"},{"version":"7.4.x","status":"affected","lessThan":"7.4.3","versionType":"custom"}],"platforms":["Windows"]}],"references":[{"url":"https://bugs.php.net/bug.php?id=79171","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202003-57","name":"GLSA-202003-57","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"php","dateUpdated":"2021-07-22T17:07:37.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b"},"configurations":[{"lang":"en","value":"Windows"}],"credits":[{"lang":"en","value":"Reported by cmb@php.net"}],"datePublic":"2020-02-17T00:00:00.000Z","source":{"defect":["https://bugs.php.net/bug.php?id=79171"],"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2020-02-17T16:23:00.000Z","ID":"CVE-2020-7061","STATE":"PUBLIC","TITLE":"heap-buffer-overflow in phar_extract_file"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"platform":"Windows","version_affected":"<","version_name":"7.3.x","version_value":"7.3.15"},{"platform":"Windows","version_affected":"<","version_name":"7.4.x","version_value":"7.4.3"}]}}]},"vendor_name":"PHP Group"}]}},"configuration":[{"lang":"en","value":"Windows"}],"credit":[{"lang":"eng","value":"Reported by cmb@php.net"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125 Out-of-bounds Read"}]}]},"references":{"reference_data":[{"name":"https://bugs.php.net/bug.php?id=79171","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=79171"},{"name":"GLSA-202003-57","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202003-57"},{"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=79171"],"discovery":"INTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.php.net/bug.php?id=79171","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202003-57","name":"GLSA-202003-57","tags":["vendor-advisory","x_refsource_GENTOO","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.029Z"}}]}}}