CVE & CISA-KEV Catalog

CVE-2020-7063

MEDIUMEPSS 73th pctl
5.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
php7.4Debian
Fixed in:7.4.3-1CVE-2020-7063
libapache2-mod-php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1
libapache2-mod-php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1
libapache2-mod-php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1
php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1
php5-cgiUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1
php5-cliUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1
php5-fpmUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1
php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1
php7.0-cgiUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1
php7.0-cliUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1
php7.0-fpmUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1
php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1
php7.2-cgiUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1
php7.2-cliUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1
php7.2-fpmUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Exploit Intelligence

1.60%probability of exploitation in 30 days
73rdpercentile

Elevated risk: more likely to be exploited than 73% of all known CVEs.

References

Embed a live status badge for CVE-2020-7063
CVE-2020-7063 severity badge

Markdown

[![CVE-2020-7063](https://tridentstack.com/cve/badge/CVE-2020-7063.svg)](https://tridentstack.com/cve/CVE-2020-7063)

HTML

<a href="https://tridentstack.com/cve/CVE-2020-7063"><img src="https://tridentstack.com/cve/badge/CVE-2020-7063.svg" alt="CVE-2020-7063"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.