Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 7.3.0, < 7.3.31 |
| Microsoft | Windows | - |
Related Weaknesses (CWE)
References
- https://bugs.php.net/bug.php?id=81420Issue TrackingPatchVendor Advisory
- https://security.netapp.com/advisory/ntap-20211029-0007/Third Party Advisory
- https://bugs.php.net/bug.php?id=81420Issue TrackingPatchVendor Advisory
- https://security.netapp.com/advisory/ntap-20211029-0007/Third Party Advisory
FAQ
What is CVE-2021-21706?
CVE-2021-21706 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ...
How severe is CVE-2021-21706?
CVE-2021-21706 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-21706?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php, Microsoft Windows.