{"id":"BIT-php-min-2021-21706","summary":"ZipArchive::extractTo may extract outside of destination dir","details":"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.","aliases":["BIT-libphp-2021-21706","BIT-php-2021-21706","CVE-2021-21706"],"modified":"2025-08-11T14:45:00.146914Z","published":"2025-01-14T19:22:26.617Z","database_specific":{"cpes":["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://bugs.php.net/bug.php?id=81420"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20211029-0007/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21706"}],"affected":[{"package":{"name":"php-min","ecosystem":"Bitnami","purl":"pkg:bitnami/php-min"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.3.0"},{"fixed":"7.3.31"},{"introduced":"7.4.0"},{"fixed":"7.4.24"},{"introduced":"8.0.0"},{"fixed":"8.0.11"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/php-min/BIT-php-min-2021-21706.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"}]}],"schema_version":"1.7.3"}