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.
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
OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

History

No history.

Information

Published : 2021-10-04 04:15

Updated : 2024-02-28 18:48


NVD link : CVE-2021-21706

Mitre link : CVE-2021-21706

CVE.ORG link : CVE-2021-21706


JSON object : View

Products Affected

php

  • php

microsoft

  • windows
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-24

Path Traversal: '../filedir'