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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5.3 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
phpCNA
5.3 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 71%
VendorProductVersion
phpphp
7.3.0 ≤
𝑥
< 7.3.31
phpphp
7.4.0 ≤
𝑥
< 7.4.24
phpphp
8.0.0 ≤
𝑥
< 8.0.11
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
php7.4
bullseye
7.4.33-1+deb11u5
fixed
bullseye (security)
7.4.33-1+deb11u6
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
jammy
dne
impish
dne
hirsute
dne
focal
dne
bionic
dne
xenial
dne
trusty
not-affected
php7.0
jammy
dne
impish
dne
hirsute
dne
focal
dne
bionic
dne
xenial
not-affected
trusty
dne
php7.2
jammy
dne
impish
dne
hirsute
dne
focal
dne
bionic
not-affected
xenial
dne
trusty
dne
php7.4
jammy
dne
impish
dne
hirsute
not-affected
focal
not-affected
bionic
dne
xenial
dne
trusty
dne
php8.0
jammy
dne
impish
not-affected
hirsute
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne
php8.1
jammy
not-affected
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne