← Back

CVE-2021-21706

nvd nist
Published: Oct 4, 2021Modified: Jun 17, 2026

JSON object

Loading...
6.5
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Exploitability: 2.8 / Impact: 3.6
Source: NVD

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.

Affected (3)

Products: Php: Php
1 product
Php
Configuration A
3 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
Php
From 7.3.0 to 7.3.31
From 7.4.0 to 7.4.24
From 8.0.0 to 8.0.11
Running on/withPlatform Versions
Microsoft
Windows
All versions

References (4)

Source: security@php.net
Issue TrackingPatchVendor Advisory
Source: security@php.net
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Issue TrackingPatchVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

Timeline

No history available yet.