CVE-2020-7063 — Improper Preservation of Permissions in Group PHP
CWE-281 — Improper Preservation of PermissionsCWE-284 — Improper Access Control10 documents8 sources
Severity
5.3MEDIUMNVD
CNA5.5OSV7.5
EPSS
0.3%
top 46.38%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 27
Latest updateMay 24
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExploitability: 3.9 | Impact: 1.4
Affected Packages5 packages
Also affects: Debian Linux 10.0, 8.0, 9.0