V
Scaner-VS
HomeCatalogSourcesCWECAPECATT&CKMitigationsDocs
CVE-2021-21706
DEB
Medium

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 …

CVSS
6.5
Medium
EPSS
0.01
p67
Published
2021-01-01
Updated
2021-01-01
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.

Tags · CWE
Pre-auth
CWE-22
CWE-24
CAPEC-64
CAPEC-76
CAPEC-78
CAPEC-79
CAPEC-126
Affected products
Php5Php7Php7-develPhp7-libsPhp7-mysqlndPhp7.0Php7.0Php7.2Php7.3Php7.4Php7.4Php7.4Php8.0Php8.0Php8.1Rpm-build-php7-versionPhp
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Timeline
2021-01-01
Published
2021-01-01
Updated
CVSS 3.1 breakdown
Attack Vector
AV: N
Network (N)
Attack Complexity
AC: L
Low (L)
Privileges Required
PR: N
None (N)
User Interaction
UI: R
Required (R)
Scope
S: U
Unchanged (U)
Confidentiality Impact
C: N
None (N)
Integrity Impact
I: H
High (H)
Availability Impact
A: N
None (N)
Exploit indicators
EPSS
0.005 · p67
Known exploited (KEV)
No
Known exploits — Сканер-ВС
No Сканер-ВС checks registered for this vulnerability yet.
Affected software
ProductVendorStatus
php5Tracked
php7Tracked
php7-develTracked
php7-libsTracked
php7-mysqlndTracked
php7.0Tracked
php7.0Tracked
php7.2Tracked
php7.3Tracked
php7.4Tracked
php7.4Tracked
php7.4Tracked
php8.0Tracked
php8.0Tracked
php8.1Tracked
rpm-build-php7-versionTracked
php*Tracked
Source databases
DEB
CVE
RED
UBU
Related vulnerabilities