CVE & CISA-KEV Catalog

CVE-2020-7063

MEDIUMEPSS 75th 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

This Debian release reached end-of-life on 2024-08-14.

libapache2-mod-php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

libapache2-mod-php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

libapache2-mod-php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php5-cgiUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php5-cliUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php5-fpmUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm11USN-4330-1

This Ubuntu release reached end-of-life on 2019-04-02.

php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.0-cgiUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.0-cliUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.0-fpmUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.14USN-4330-1

This Ubuntu release reached end-of-life on 2021-04-02.

php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php7.2-cgiUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php7.2-cliUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

php7.2-fpmUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.4USN-4330-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

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.64%probability of exploitation in 30 days
75thpercentile

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

References

Related Vulnerabilities

Other CWE-281 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-8543Critical9.874%KEV-
CVE-2019-0233High7.568%--
CVE-2017-8589Critical9.826%--
CVE-2021-33990Critical9.812%--
CVE-2017-8563High8.17.2%--
CVE-2017-8578High7.86.5%--

Common questions

How do I fix CVE-2020-7063?

Published advisories record a fix for 16 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2020-7063 being actively exploited?

Not that we know of. CVE-2020-7063 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 1.6% is the estimated probability that it will be exploited in the next 30 days. That is higher than 75% of all scored CVEs.

How severe is CVE-2020-7063?

CVE-2020-7063 has a CVSS v3 base score of 5.5, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2020-7063 affect?

Published advisories record a fix for php7.4 (Debian), libapache2-mod-php5 (Ubuntu), libapache2-mod-php7.0 (Ubuntu), libapache2-mod-php7.2 (Ubuntu), and 12 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

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>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

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 2026-06-17.