Vulnerability in Php
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.
EPSS: 0.016 (73.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
Affected products
- Php
- Php Group — versions 7.3.x, 7.4.x, 7.2.x
- Tenable Tenable.sc
- Debian Debian_linux — versions 8.0, 9.0, 10.0
- Opensuse Leap — versions 15.1
Weakness classification (CWE)
References
- security@php.net (Exploit, x_refsource_MISC, Vendor Advisory)
- security@php.net (vendor-advisory, Third Party Advisory, x_refsource_SUSE)
- security@php.net (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
- security@php.net (mailing-list, x_refsource_MLIST, Third Party Advisory)
- security@php.net (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
- security@php.net (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- security@php.net (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- security@php.net (x_refsource_CONFIRM, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-7063?
- CVE-2020-7063 is a medium-severity vulnerability in Php, classified under Improper Preservation of Permissions. CVSS score: 5.5/10. Published 2020-02-27.
- How severe is CVE-2020-7063?
- Medium severity. CVSS v3 base score is 5.5 out of 10.