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.
References
Link | Resource |
---|---|
https://bugs.php.net/bug.php?id=81420 | Issue Tracking Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20211029-0007/ | Third Party Advisory |
Configurations
Configuration 1 (hide)
AND |
|
Information
Published : 2021-10-03 21:15
Updated : 2021-11-03 13:24
NVD link : CVE-2021-21706
Mitre link : CVE-2021-21706
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
microsoft
- windows
php
- php