Live threats

All CVEs / Php

CVE-2020-7063Php

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Feb 27, 2020
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-281
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
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_linux8.0
debiandebian_linux9.0
debiandebian_linux10.0
opensuseleap15.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.