ADVISORIES

Red Hat VEX

RHVEX-CVE-2020-7063

php: Files added to tar with Phar::buildFromIterator have all-access permissions

Moderate No fix available CVE-2020-7063

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:5php
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:5php53
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-bcmath
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-cli
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-common
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-dba
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-embedded
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-enchant
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-fpm
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-gd
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-imap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-intl
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-ldap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-mbstring
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-mysql
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-odbc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-pdo
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-pgsql
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-process
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-pspell
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-recode
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-snmp
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-soap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-tidy
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-xml
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-xmlrpc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6php-zts
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7php
All versions, will not be fixed
Red Hat:enterprise_linux:7php-bcmath
All versions, will not be fixed
Red Hat:enterprise_linux:7php-cli
All versions, will not be fixed
Red Hat:enterprise_linux:7php-common
All versions, will not be fixed
Red Hat:enterprise_linux:7php-dba
All versions, will not be fixed
Red Hat:enterprise_linux:7php-devel
All versions, will not be fixed
Red Hat:enterprise_linux:7php-embedded
All versions, will not be fixed
Red Hat:enterprise_linux:7php-enchant
All versions, will not be fixed
Red Hat:enterprise_linux:7php-fpm
All versions, will not be fixed
Red Hat:enterprise_linux:7php-gd
All versions, will not be fixed
Red Hat:enterprise_linux:7php-intl
All versions, will not be fixed
Red Hat:enterprise_linux:7php-ldap
All versions, will not be fixed
Red Hat:enterprise_linux:7php-mbstring
All versions, will not be fixed
Red Hat:enterprise_linux:7php-mysql
All versions, will not be fixed
Red Hat:enterprise_linux:7php-mysqlnd
All versions, will not be fixed
Red Hat:enterprise_linux:7php-odbc
All versions, will not be fixed
Red Hat:enterprise_linux:7php-pdo
All versions, will not be fixed
Red Hat:enterprise_linux:7php-pgsql
All versions, will not be fixed
Red Hat:enterprise_linux:7php-process
All versions, will not be fixed
Red Hat:enterprise_linux:7php-pspell
All versions, will not be fixed
Red Hat:enterprise_linux:7php-recode
All versions, will not be fixed
Red Hat:enterprise_linux:7php-snmp
All versions, will not be fixed
Red Hat:enterprise_linux:7php-soap
All versions, will not be fixed
Red Hat:enterprise_linux:7php-xml
All versions, will not be fixed
Red Hat:enterprise_linux:7php-xmlrpc
All versions, will not be fixed
Red Hat:enterprise_linux:8apcu-panel
All versions, will not be fixed
Red Hat:enterprise_linux:8libzip
All versions, will not be fixed
Red Hat:enterprise_linux:8libzip-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8libzip-tools
All versions, will not be fixed
Red Hat:enterprise_linux:8php
All versions, will not be fixed
Red Hat:enterprise_linux:8php-bcmath
All versions, will not be fixed
Red Hat:enterprise_linux:8php-cli
All versions, will not be fixed
Red Hat:enterprise_linux:8php-common
All versions, will not be fixed
Red Hat:enterprise_linux:8php-dba
All versions, will not be fixed
Red Hat:enterprise_linux:8php-dbg
All versions, will not be fixed
Red Hat:enterprise_linux:8php-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8php-embedded
All versions, will not be fixed
Red Hat:enterprise_linux:8php-enchant
All versions, will not be fixed
Red Hat:enterprise_linux:8php-ffi
All versions, will not be fixed
Red Hat:enterprise_linux:8php-fpm
All versions, will not be fixed
Red Hat:enterprise_linux:8php-gd
All versions, will not be fixed
Red Hat:enterprise_linux:8php-gmp
All versions, will not be fixed
Red Hat:enterprise_linux:8php-intl
All versions, will not be fixed
Red Hat:enterprise_linux:8php-json
All versions, will not be fixed
Red Hat:enterprise_linux:8php-ldap
All versions, will not be fixed
Red Hat:enterprise_linux:8php-mbstring
All versions, will not be fixed
Red Hat:enterprise_linux:8php-mysqlnd
All versions, will not be fixed
Red Hat:enterprise_linux:8php-odbc
All versions, will not be fixed
Red Hat:enterprise_linux:8php-opcache
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pdo
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pear
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pecl-apcu
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pecl-apcu-devel
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pecl-rrd
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pecl-xdebug
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pecl-xdebug3
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pecl-zip
All versions, will not be fixed
Red Hat:enterprise_linux:8php-pgsql
All versions, will not be fixed
Red Hat:enterprise_linux:8php-process
All versions, will not be fixed
Red Hat:enterprise_linux:8php-recode
All versions, will not be fixed
Red Hat:enterprise_linux:8php-snmp
All versions, will not be fixed
Red Hat:enterprise_linux:8php-soap
All versions, will not be fixed
Red Hat:enterprise_linux:8php-xml
All versions, will not be fixed
Red Hat:enterprise_linux:8php-xmlrpc
All versions, will not be fixed

References