{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21706","published":"2021-10-04T04:15:08.350000Z","last_modified":"2026-06-17T03:36:02.040000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-24","CWE-22"],"cpes":[{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"7.3.0","version_end_excluding":"7.3.31"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"7.4.0","version_end_excluding":"7.4.24"},{"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","part":"a","vendor":"php","product":"php","version_start_including":"8.0.0","version_end_excluding":"8.0.11"}],"cpes_truncated":false,"vendors":["php"],"products":["php/php"],"epss":{"score":0.01517,"percentile":0.74869,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"web","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2021-21706/","html_en":"/en/cve/CVE-2021-21706/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21706","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21706"},"untrusted":{"vendor_name":"Php","product_name":"Php","desc_en":"In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be created or overwritten, subject to OS permissions.","affected":[{"untrusted_vendor":"PHP Group","untrusted_product":"PHP","versions":[]}],"references":[{"url":"https://bugs.php.net/bug.php?id=81420","tags":["Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211029-0007/","tags":["Third Party Advisory"]}]}}