VULNERABILITY INTELLIGENCE

CVE-2021-21706

CVSS score5.3 MEDIUM
EPSS probability1.52%
CISA KEVNot currently listed
Published2021-10-04
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

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.

Weakness classification

  • security@php.net: CWE-24
  • nvd@nist.gov: CWE-22

Primary references