CVE-2020-7063

EUVD-2020-28197
In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
phpCNA
5.5 MEDIUM
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 53%
Affected Products (NVD)
VendorProductVersion
phpphp
7.2.0 ≤
𝑥
≤ 7.2.27
phpphp
7.3.0 ≤
𝑥
≤ 7.3.14
phpphp
7.4.0 ≤
𝑥
≤ 7.4.2
tenabletenable.sc
𝑥
< 5.19.0
debiandebian_linux
8.0
debiandebian_linux
9.0
debiandebian_linux
10.0
opensuseleap
15.1
𝑥
= 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
bionic
dne
eoan
dne
trusty
Fixed 5.5.9+dfsg-1ubuntu4.29+esm11
released
xenial
dne
php7.0
bionic
dne
eoan
dne
trusty
dne
xenial
Fixed 7.0.33-0ubuntu0.16.04.14
released
php7.2
bionic
Fixed 7.2.24-0ubuntu0.18.04.4
released
eoan
dne
trusty
dne
xenial
dne
php7.3
bionic
dne
eoan
Fixed 7.3.11-0ubuntu0.19.10.4
released
trusty
dne
xenial
dne
php7.4
bionic
dne
eoan
dne
trusty
dne
xenial
dne