5.5

CVE-2020-7063: Files added to tar with Phar::buildFromIterator have all-access permissions

Modified
AliasesUBUNTU-CVE-2020-7063DEBIAN-CVE-2020-7063ALPINE-CVE-2020-7063
Published 27-02-2020Last modified 16-09-2024

Vulnerability summary

CVE-2020-7063 is a medium (CVSS 5.5) Improper Preservation of Permissions vulnerability in debian debian_linux. EPSS estimates a 1.59% chance of exploitation in the next 30 days, higher than 75.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.59%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 14 · Related 8

Timeline

  1. 27-02-2020
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.59%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.59% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • php5< 5.5.9+dfsg-1ubuntu4.29+esm11
  • php7.0< 7.0.33-0ubuntu0.16.04.14
  • php7.2< 7.2.24-0ubuntu0.18.04.4
Debian2 products
Alpine1 product
  • php7< 7.3.15-r0 | < 7.2.31-r0
Opensuse1 product
Php1 product
  • php≥ 7.2.0, ≤ 7.2.27 | ≥ 7.3.0, ≤ 7.3.14 | ≥ 7.4.0, ≤ 7.4.2
Php group1 product
  • php≥ 7.3.x, < 7.3.15 | ≥ 7.4.x, < 7.4.3 | ≥ 7.2.x, < 7.2.28
Tenable1 product

7 vendors · 10 products

References

14 links
Show all 14 references