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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.016 (74.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 75th percentile — 74.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: -0.000
Affected products
- PHP
- PHP Group — versions 7.3.x, 7.4.x, 7.2.x
- Tenable Tenable.sc
- Debian Linux — versions 8.0, 9.0, 10.0
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
References
- bugs.php.net/bug.php (Exploit, Vendor Advisory)
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202003-57 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/03/msg00034.html (mailing-list, Third Party Advisory)
- usn.ubuntu.com/4330-1/ (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2020/dsa-4717 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2020/dsa-4719 (vendor-advisory, Third Party Advisory)
- www.tenable.com/security/tns-2021-14 (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.