CVE-2021-21706
Summary
| CVE | CVE-2021-21706 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-10-04 04:15:00 UTC |
| Updated | 2021-11-03 20:24:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-22
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| CVE-2021-21706 PHP Vulnerability in NetApp Products | NetApp Product Security | CONFIRM | security.netapp.com | |
| PHP :: Sec Bug #81420 :: ZipArchive::extractTo may extract outside of destination dir | CONFIRM | bugs.php.net | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: reported by vi at hackberry dot xyz
Legacy QID Mappings
- 150475 PHP Path Traversal Vulnerability (CVE-2021-21706)
- 38851 Hypertext Preprocessor (PHP) Security Update
- 501144 Alpine Linux Security Update for php7
- 501663 Alpine Linux Security Update for php7
- 501666 Alpine Linux Security Update for php8
- 502331 Alpine Linux Security Update for php81
- 752898 SUSE Enterprise Linux Security Update for php7 (SUSE-SU-2022:4069-1)
- 752901 SUSE Enterprise Linux Security Update for php74 (SUSE-SU-2022:4068-1)