CVE-2021-21706
MEDIUM
6.5
CVSS 3.1
Description
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 products and versions
- PHP — From 7.3.0 (including) to 7.3.31 (excluding)
- PHP — From 7.4.0 (including) to 7.4.24 (excluding)
- PHP — From 8.0.0 (including) to 8.0.11 (excluding)
References
- bugs.php.net https://bugs.php.net/bug.php?id=81420 Issue Tracking, Patch, Vendor Advisory
- security.netapp.com https://security.netapp.com/advisory/ntap-20211029-0007/ Third Party Advisory
- nvd.nist.gov Official NVD record