← CVE Intelligence

CVE-2021-21706

ZipArchive::extractTo may extract outside of destination dir PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
PHP Group / PHPaffected 7.3.x before 7.3.31; affected 7.4.x before 7.4.24; affected 8.0.X before 8.0.11

CWE

CWE-24

References

ADP enrichment

CVE

No English description supplied.