CVE-2020-7063

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
NISTNIST
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
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 53%
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
eoan
dne
bionic
dne
xenial
dne
trusty
Fixed 5.5.9+dfsg-1ubuntu4.29+esm11
released
php7.0
eoan
dne
bionic
dne
xenial
Fixed 7.0.33-0ubuntu0.16.04.14
released
trusty
dne
php7.2
eoan
dne
bionic
Fixed 7.2.24-0ubuntu0.18.04.4
released
xenial
dne
trusty
dne
php7.3
eoan
Fixed 7.3.11-0ubuntu0.19.10.4
released
bionic
dne
xenial
dne
trusty
dne
php7.4
eoan
dne
bionic
dne
xenial
dne
trusty
dne