Path Traversal in Microsoft Windows
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.
EPSS: 0.014 (70.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N.
Affected products
- Microsoft Windows
- Php
- Php Group — versions 7.3.x, 7.4.x, 8.0.X
Weakness classification (CWE)
References
- security@php.net (Patch, x_refsource_MISC, Issue Tracking, Vendor Advisory)
- security@php.net (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-21706?
- CVE-2021-21706 is a medium-severity vulnerability in Microsoft Windows, classified under CWE-24. CVSS score: 5.3/10. Published 2021-10-04.
- How severe is CVE-2021-21706?
- Medium severity. CVSS v3 base score is 5.3 out of 10.