Vulnerability
CVE-2021-21706
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.
7 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
ALPINE-CVE-2021-21706
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…
-
CNA-CVE-2021-21706
ZipArchive::extractTo may extract outside of destination dir
-
SUSE-SU-2022:4068-1
Security update for php74
-
SUSE-SU-2022:4069-1
Security update for php7
-
UBUNTU-CVE-2021-21706
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…
-
openSUSE-SU-2024:11167-1
php7-7.4.24-1.1 on GA media
-
openSUSE-SU-2024:11169-1
php8-8.0.11-1.1 on GA media