Red Hat VEX
RHVEX-CVE-2020-7063
php: Files added to tar with Phar::buildFromIterator have all-access permissions
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:5 | php | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:5 | php53 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-bcmath | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-cli | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-common | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-dba | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-embedded | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-enchant | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-fpm | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-gd | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-imap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-intl | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-ldap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-mbstring | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-mysql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-odbc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pdo | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pgsql | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-process | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-pspell | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-recode | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-snmp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-soap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-tidy | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-xml | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-xmlrpc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | php-zts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | php | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-bcmath | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-cli | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-common | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-dba | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-embedded | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-enchant | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-fpm | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-gd | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-intl | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-ldap | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-mbstring | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-mysql | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-mysqlnd | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-odbc | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-pdo | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-pgsql | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-process | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-pspell | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-recode | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-snmp | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-soap | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-xml | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | php-xmlrpc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | apcu-panel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | libzip | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | libzip-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | libzip-tools | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-bcmath | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-cli | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-common | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-dba | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-dbg | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-embedded | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-enchant | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-ffi | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-fpm | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-gd | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-gmp | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-intl | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-json | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-ldap | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-mbstring | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-mysqlnd | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-odbc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-opcache | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pdo | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pear | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pecl-apcu | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pecl-apcu-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pecl-rrd | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pecl-xdebug | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pecl-xdebug3 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pecl-zip | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-pgsql | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-process | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-recode | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-snmp | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-soap | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-xml | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | php-xmlrpc | All versions, will not be fixed |