Unrated severityNVD Advisory· Published Oct 4, 2021· Updated Sep 16, 2024
ZipArchive::extractTo may extract outside of destination dir
CVE-2021-21706
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
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- bugs.php.net/bug.phpmitrex_refsource_MISC
- security.netapp.com/advisory/ntap-20211029-0007/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.