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, 76.1th percentile (scored ); unchanged over 30 days. About EPSS.
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)
- openSUSE-SU-2020:0341 (vendor-advisory, Third Party Advisory)
- GLSA-202003-57 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20200326 [SECURITY] [DLA 2160-1] php5 security update (mailing-list, Third Party Advisory)
- USN-4330-1 (vendor-advisory, Third Party Advisory)
- DSA-4717 (vendor-advisory, Third Party Advisory)
- DSA-4719 (vendor-advisory, Third Party Advisory)
- www.tenable.com/security/tns-2021-14 (Patch, Third Party Advisory)