====================================================================                   Red Hat Security Advisory

Synopsis:          Important: rh-php56-php security update
Advisory ID:       RHSA-2015:1187-01
Product:           Red Hat Software Collections
Advisory URL:      https://access.redhat.com/errata/RHSA-2015:1187.html
Issue date:        2015-06-25
CVE Names:         CVE-2015-2783 CVE-2015-3307 CVE-2015-3329 
                   CVE-2015-3330 CVE-2015-3411 CVE-2015-3412 
                   CVE-2015-4021 CVE-2015-4022 CVE-2015-4024 
                   CVE-2015-4025 CVE-2015-4026 CVE-2015-4598 
                   CVE-2015-4602 CVE-2015-4603 CVE-2015-4604 
                   CVE-2015-4605 
====================================================================
1. Summary:

Updated rh-php56-php packages that fix multiple security issues are now
available for Red Hat Software Collections 2.

Red Hat Product Security has rated this update as having Important security
impact. Common Vulnerability Scoring System (CVSS) base scores, which give
detailed severity ratings, are available for each vulnerability from the
CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) - x86_64
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - x86_64

3. Description:

PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server.

A flaw was found in the way the PHP module for the Apache httpd web server
handled pipelined requests. A remote attacker could use this flaw to
trigger the execution of a PHP script in a deinitialized interpreter,
causing it to crash or, possibly, execute arbitrary code. (CVE-2015-3330)

A flaw was found in the way PHP parsed multipart HTTP POST requests. A
specially crafted request could cause PHP to use an excessive amount of CPU
time. (CVE-2015-4024)

An integer overflow flaw leading to a heap-based buffer overflow was found
in the way PHP's FTP extension parsed file listing FTP server responses. A
malicious FTP server could use this flaw to cause a PHP application to
crash or, possibly, execute arbitrary code. (CVE-2015-4022)

Multiple flaws were discovered in the way PHP performed object
unserialization. Specially crafted input processed by the unserialize()
function could cause a PHP application to crash or, possibly, execute
arbitrary code. (CVE-2015-4602, CVE-2015-4603)

It was found that certain PHP functions did not properly handle file names
containing a NULL character. A remote attacker could possibly use this flaw
to make a PHP script access unexpected files and bypass intended file
system access restrictions. (CVE-2015-4025, CVE-2015-4026, CVE-2015-3411,
CVE-2015-3412, CVE-2015-4598)

Multiple flaws were found in the way the way PHP's Phar extension parsed
Phar archives. A specially crafted archive could cause PHP to crash or,
possibly, execute arbitrary code when opened. (CVE-2015-2783,
CVE-2015-3307, CVE-2015-3329, CVE-2015-4021)

Multiple flaws were found in PHP's File Information (fileinfo) extension.
A remote attacker could cause a PHP application to crash if it used
fileinfo to identify type of attacker supplied files. (CVE-2015-4604,
CVE-2015-4605)

All rh-php56-php users are advised to upgrade to these updated packages,
which contain backported patches to correct these issues. After installing
the updated packages, the httpd24-httpd service must be restarted for the
update to take effect.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed (https://bugzilla.redhat.com/):

1213394 - CVE-2015-3330 php: pipelined request executed in deinitialized interpreter under httpd 2.4
1213407 - CVE-2015-3411 php: missing null byte checks for paths in various PHP extensions
1213442 - CVE-2015-4604 CVE-2015-4605 php: denial of service when processing a crafted file with Fileinfo
1213446 - CVE-2015-2783 php: buffer over-read in Phar metadata parsing
1213449 - CVE-2015-3329 php: buffer overflow in phar_set_inode()
1222485 - CVE-2015-4024 php: multipart/form-data request paring CPU usage DoS
1223408 - CVE-2015-4025 php: CVE-2006-7243 regressions in 5.4+
1223412 - CVE-2015-4022 php: integer overflow leading to heap overflow when reading FTP file listing
1223422 - CVE-2015-4026 php: pcntl_exec() accepts paths with NUL character
1223425 - CVE-2015-4021 php: memory corruption in phar_parse_tarfile caused by empty entry file name
1223441 - CVE-2015-3307 php: invalid pointer free() in phar_tar_process_metadata()
1232823 - CVE-2015-3412 php: missing null byte checks for paths in various PHP extensions
1232897 - CVE-2015-4598 php: missing null byte checks for paths in DOM and GD extensions
1232918 - CVE-2015-4603 php: exception::getTraceAsString type confusion issue after unserialize
1232923 - CVE-2015-4602 php: Incomplete Class unserialization type confusion

6. Package List:

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):

Source:
rh-php56-php-5.6.5-7.el6.src.rpm

x86_64:
rh-php56-php-5.6.5-7.el6.x86_64.rpm
rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm
rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm
rh-php56-php-common-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm
rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm
rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm
rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm
rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm
rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm
rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm
rh-php56-php-process-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm
rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm
rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5):

Source:
rh-php56-php-5.6.5-7.el6.src.rpm

x86_64:
rh-php56-php-5.6.5-7.el6.x86_64.rpm
rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm
rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm
rh-php56-php-common-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm
rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm
rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm
rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm
rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm
rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm
rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm
rh-php56-php-process-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm
rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm
rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6):

Source:
rh-php56-php-5.6.5-7.el6.src.rpm

x86_64:
rh-php56-php-5.6.5-7.el6.x86_64.rpm
rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm
rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm
rh-php56-php-common-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm
rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm
rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm
rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm
rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm
rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm
rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm
rh-php56-php-process-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm
rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm
rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6):

Source:
rh-php56-php-5.6.5-7.el6.src.rpm

x86_64:
rh-php56-php-5.6.5-7.el6.x86_64.rpm
rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm
rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm
rh-php56-php-common-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm
rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm
rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm
rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm
rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm
rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm
rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm
rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm
rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm
rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm
rh-php56-php-process-5.6.5-7.el6.x86_64.rpm
rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm
rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm
rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm
rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm
rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm
rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):

Source:
rh-php56-php-5.6.5-7.el7.src.rpm

x86_64:
rh-php56-php-5.6.5-7.el7.x86_64.rpm
rh-php56-php-bcmath-5.6.5-7.el7.x86_64.rpm
rh-php56-php-cli-5.6.5-7.el7.x86_64.rpm
rh-php56-php-common-5.6.5-7.el7.x86_64.rpm
rh-php56-php-dba-5.6.5-7.el7.x86_64.rpm
rh-php56-php-dbg-5.6.5-7.el7.x86_64.rpm
rh-php56-php-debuginfo-5.6.5-7.el7.x86_64.rpm
rh-php56-php-devel-5.6.5-7.el7.x86_64.rpm
rh-php56-php-embedded-5.6.5-7.el7.x86_64.rpm
rh-php56-php-enchant-5.6.5-7.el7.x86_64.rpm
rh-php56-php-fpm-5.6.5-7.el7.x86_64.rpm
rh-php56-php-gd-5.6.5-7.el7.x86_64.rpm
rh-php56-php-gmp-5.6.5-7.el7.x86_64.rpm
rh-php56-php-intl-5.6.5-7.el7.x86_64.rpm
rh-php56-php-ldap-5.6.5-7.el7.x86_64.rpm
rh-php56-php-mbstring-5.6.5-7.el7.x86_64.rpm
rh-php56-php-mysqlnd-5.6.5-7.el7.x86_64.rpm
rh-php56-php-odbc-5.6.5-7.el7.x86_64.rpm
rh-php56-php-opcache-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pdo-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pgsql-5.6.5-7.el7.x86_64.rpm
rh-php56-php-process-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pspell-5.6.5-7.el7.x86_64.rpm
rh-php56-php-recode-5.6.5-7.el7.x86_64.rpm
rh-php56-php-snmp-5.6.5-7.el7.x86_64.rpm
rh-php56-php-soap-5.6.5-7.el7.x86_64.rpm
rh-php56-php-xml-5.6.5-7.el7.x86_64.rpm
rh-php56-php-xmlrpc-5.6.5-7.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1):

Source:
rh-php56-php-5.6.5-7.el7.src.rpm

x86_64:
rh-php56-php-5.6.5-7.el7.x86_64.rpm
rh-php56-php-bcmath-5.6.5-7.el7.x86_64.rpm
rh-php56-php-cli-5.6.5-7.el7.x86_64.rpm
rh-php56-php-common-5.6.5-7.el7.x86_64.rpm
rh-php56-php-dba-5.6.5-7.el7.x86_64.rpm
rh-php56-php-dbg-5.6.5-7.el7.x86_64.rpm
rh-php56-php-debuginfo-5.6.5-7.el7.x86_64.rpm
rh-php56-php-devel-5.6.5-7.el7.x86_64.rpm
rh-php56-php-embedded-5.6.5-7.el7.x86_64.rpm
rh-php56-php-enchant-5.6.5-7.el7.x86_64.rpm
rh-php56-php-fpm-5.6.5-7.el7.x86_64.rpm
rh-php56-php-gd-5.6.5-7.el7.x86_64.rpm
rh-php56-php-gmp-5.6.5-7.el7.x86_64.rpm
rh-php56-php-intl-5.6.5-7.el7.x86_64.rpm
rh-php56-php-ldap-5.6.5-7.el7.x86_64.rpm
rh-php56-php-mbstring-5.6.5-7.el7.x86_64.rpm
rh-php56-php-mysqlnd-5.6.5-7.el7.x86_64.rpm
rh-php56-php-odbc-5.6.5-7.el7.x86_64.rpm
rh-php56-php-opcache-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pdo-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pgsql-5.6.5-7.el7.x86_64.rpm
rh-php56-php-process-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pspell-5.6.5-7.el7.x86_64.rpm
rh-php56-php-recode-5.6.5-7.el7.x86_64.rpm
rh-php56-php-snmp-5.6.5-7.el7.x86_64.rpm
rh-php56-php-soap-5.6.5-7.el7.x86_64.rpm
rh-php56-php-xml-5.6.5-7.el7.x86_64.rpm
rh-php56-php-xmlrpc-5.6.5-7.el7.x86_64.rpm

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7):

Source:
rh-php56-php-5.6.5-7.el7.src.rpm

x86_64:
rh-php56-php-5.6.5-7.el7.x86_64.rpm
rh-php56-php-bcmath-5.6.5-7.el7.x86_64.rpm
rh-php56-php-cli-5.6.5-7.el7.x86_64.rpm
rh-php56-php-common-5.6.5-7.el7.x86_64.rpm
rh-php56-php-dba-5.6.5-7.el7.x86_64.rpm
rh-php56-php-dbg-5.6.5-7.el7.x86_64.rpm
rh-php56-php-debuginfo-5.6.5-7.el7.x86_64.rpm
rh-php56-php-devel-5.6.5-7.el7.x86_64.rpm
rh-php56-php-embedded-5.6.5-7.el7.x86_64.rpm
rh-php56-php-enchant-5.6.5-7.el7.x86_64.rpm
rh-php56-php-fpm-5.6.5-7.el7.x86_64.rpm
rh-php56-php-gd-5.6.5-7.el7.x86_64.rpm
rh-php56-php-gmp-5.6.5-7.el7.x86_64.rpm
rh-php56-php-intl-5.6.5-7.el7.x86_64.rpm
rh-php56-php-ldap-5.6.5-7.el7.x86_64.rpm
rh-php56-php-mbstring-5.6.5-7.el7.x86_64.rpm
rh-php56-php-mysqlnd-5.6.5-7.el7.x86_64.rpm
rh-php56-php-odbc-5.6.5-7.el7.x86_64.rpm
rh-php56-php-opcache-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pdo-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pgsql-5.6.5-7.el7.x86_64.rpm
rh-php56-php-process-5.6.5-7.el7.x86_64.rpm
rh-php56-php-pspell-5.6.5-7.el7.x86_64.rpm
rh-php56-php-recode-5.6.5-7.el7.x86_64.rpm
rh-php56-php-snmp-5.6.5-7.el7.x86_64.rpm
rh-php56-php-soap-5.6.5-7.el7.x86_64.rpm
rh-php56-php-xml-5.6.5-7.el7.x86_64.rpm
rh-php56-php-xmlrpc-5.6.5-7.el7.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/

7. References:

https://access.redhat.com/security/cve/CVE-2015-2783
https://access.redhat.com/security/cve/CVE-2015-3307
https://access.redhat.com/security/cve/CVE-2015-3329
https://access.redhat.com/security/cve/CVE-2015-3330
https://access.redhat.com/security/cve/CVE-2015-3411
https://access.redhat.com/security/cve/CVE-2015-3412
https://access.redhat.com/security/cve/CVE-2015-4021
https://access.redhat.com/security/cve/CVE-2015-4022
https://access.redhat.com/security/cve/CVE-2015-4024
https://access.redhat.com/security/cve/CVE-2015-4025
https://access.redhat.com/security/cve/CVE-2015-4026
https://access.redhat.com/security/cve/CVE-2015-4598
https://access.redhat.com/security/cve/CVE-2015-4602
https://access.redhat.com/security/cve/CVE-2015-4603
https://access.redhat.com/security/cve/CVE-2015-4604
https://access.redhat.com/security/cve/CVE-2015-4605
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is . More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2015 Red Hat, Inc.

Red Hat: 2015:1187-01: rh-php56-php: Important Advisory

Updated rh-php56-php packages that fix multiple security issues are now available for Red Hat Software Collections 2

Summary

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
A flaw was found in the way the PHP module for the Apache httpd web server handled pipelined requests. A remote attacker could use this flaw to trigger the execution of a PHP script in a deinitialized interpreter, causing it to crash or, possibly, execute arbitrary code. (CVE-2015-3330)
A flaw was found in the way PHP parsed multipart HTTP POST requests. A specially crafted request could cause PHP to use an excessive amount of CPU time. (CVE-2015-4024)
An integer overflow flaw leading to a heap-based buffer overflow was found in the way PHP's FTP extension parsed file listing FTP server responses. A malicious FTP server could use this flaw to cause a PHP application to crash or, possibly, execute arbitrary code. (CVE-2015-4022)
Multiple flaws were discovered in the way PHP performed object unserialization. Specially crafted input processed by the unserialize() function could cause a PHP application to crash or, possibly, execute arbitrary code. (CVE-2015-4602, CVE-2015-4603)
It was found that certain PHP functions did not properly handle file names containing a NULL character. A remote attacker could possibly use this flaw to make a PHP script access unexpected files and bypass intended file system access restrictions. (CVE-2015-4025, CVE-2015-4026, CVE-2015-3411, CVE-2015-3412, CVE-2015-4598)
Multiple flaws were found in the way the way PHP's Phar extension parsed Phar archives. A specially crafted archive could cause PHP to crash or, possibly, execute arbitrary code when opened. (CVE-2015-2783, CVE-2015-3307, CVE-2015-3329, CVE-2015-4021)
Multiple flaws were found in PHP's File Information (fileinfo) extension. A remote attacker could cause a PHP application to crash if it used fileinfo to identify type of attacker supplied files. (CVE-2015-4604, CVE-2015-4605)
All rh-php56-php users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. After installing the updated packages, the httpd24-httpd service must be restarted for the update to take effect.



Summary


Solution

Before applying this update, make sure all previously released errata relevant to your system have been applied.
For details on how to apply this update, refer to:
https://access.redhat.com/articles/11258

References

https://access.redhat.com/security/cve/CVE-2015-2783 https://access.redhat.com/security/cve/CVE-2015-3307 https://access.redhat.com/security/cve/CVE-2015-3329 https://access.redhat.com/security/cve/CVE-2015-3330 https://access.redhat.com/security/cve/CVE-2015-3411 https://access.redhat.com/security/cve/CVE-2015-3412 https://access.redhat.com/security/cve/CVE-2015-4021 https://access.redhat.com/security/cve/CVE-2015-4022 https://access.redhat.com/security/cve/CVE-2015-4024 https://access.redhat.com/security/cve/CVE-2015-4025 https://access.redhat.com/security/cve/CVE-2015-4026 https://access.redhat.com/security/cve/CVE-2015-4598 https://access.redhat.com/security/cve/CVE-2015-4602 https://access.redhat.com/security/cve/CVE-2015-4603 https://access.redhat.com/security/cve/CVE-2015-4604 https://access.redhat.com/security/cve/CVE-2015-4605 https://access.redhat.com/security/updates/classification/#important

Package List

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6):
Source: rh-php56-php-5.6.5-7.el6.src.rpm
x86_64: rh-php56-php-5.6.5-7.el6.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm rh-php56-php-common-5.6.5-7.el6.x86_64.rpm rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm rh-php56-php-process-5.6.5-7.el6.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5):
Source: rh-php56-php-5.6.5-7.el6.src.rpm
x86_64: rh-php56-php-5.6.5-7.el6.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm rh-php56-php-common-5.6.5-7.el6.x86_64.rpm rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm rh-php56-php-process-5.6.5-7.el6.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6):
Source: rh-php56-php-5.6.5-7.el6.src.rpm
x86_64: rh-php56-php-5.6.5-7.el6.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm rh-php56-php-common-5.6.5-7.el6.x86_64.rpm rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm rh-php56-php-process-5.6.5-7.el6.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6):
Source: rh-php56-php-5.6.5-7.el6.src.rpm
x86_64: rh-php56-php-5.6.5-7.el6.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el6.x86_64.rpm rh-php56-php-cli-5.6.5-7.el6.x86_64.rpm rh-php56-php-common-5.6.5-7.el6.x86_64.rpm rh-php56-php-dba-5.6.5-7.el6.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el6.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el6.x86_64.rpm rh-php56-php-devel-5.6.5-7.el6.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el6.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el6.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el6.x86_64.rpm rh-php56-php-gd-5.6.5-7.el6.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-imap-5.6.5-7.el6.x86_64.rpm rh-php56-php-intl-5.6.5-7.el6.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el6.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el6.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el6.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el6.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el6.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el6.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el6.x86_64.rpm rh-php56-php-process-5.6.5-7.el6.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el6.x86_64.rpm rh-php56-php-recode-5.6.5-7.el6.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el6.x86_64.rpm rh-php56-php-soap-5.6.5-7.el6.x86_64.rpm rh-php56-php-tidy-5.6.5-7.el6.x86_64.rpm rh-php56-php-xml-5.6.5-7.el6.x86_64.rpm rh-php56-php-xmlrpc-5.6.5-7.el6.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7):
Source: rh-php56-php-5.6.5-7.el7.src.rpm
x86_64: rh-php56-php-5.6.5-7.el7.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el7.x86_64.rpm rh-php56-php-cli-5.6.5-7.el7.x86_64.rpm rh-php56-php-common-5.6.5-7.el7.x86_64.rpm rh-php56-php-dba-5.6.5-7.el7.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el7.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el7.x86_64.rpm rh-php56-php-devel-5.6.5-7.el7.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el7.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el7.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el7.x86_64.rpm rh-php56-php-gd-5.6.5-7.el7.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el7.x86_64.rpm rh-php56-php-intl-5.6.5-7.el7.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el7.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el7.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el7.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el7.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el7.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el7.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el7.x86_64.rpm rh-php56-php-process-5.6.5-7.el7.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el7.x86_64.rpm rh-php56-php-recode-5.6.5-7.el7.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el7.x86_64.rpm rh-php56-php-soap-5.6.5-7.el7.x86_64.rpm rh-php56-php-xml-5.6.5-7.el7.x86_64.rpm rh-php56-php-xmlrpc-5.6.5-7.el7.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1):
Source: rh-php56-php-5.6.5-7.el7.src.rpm
x86_64: rh-php56-php-5.6.5-7.el7.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el7.x86_64.rpm rh-php56-php-cli-5.6.5-7.el7.x86_64.rpm rh-php56-php-common-5.6.5-7.el7.x86_64.rpm rh-php56-php-dba-5.6.5-7.el7.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el7.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el7.x86_64.rpm rh-php56-php-devel-5.6.5-7.el7.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el7.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el7.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el7.x86_64.rpm rh-php56-php-gd-5.6.5-7.el7.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el7.x86_64.rpm rh-php56-php-intl-5.6.5-7.el7.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el7.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el7.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el7.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el7.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el7.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el7.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el7.x86_64.rpm rh-php56-php-process-5.6.5-7.el7.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el7.x86_64.rpm rh-php56-php-recode-5.6.5-7.el7.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el7.x86_64.rpm rh-php56-php-soap-5.6.5-7.el7.x86_64.rpm rh-php56-php-xml-5.6.5-7.el7.x86_64.rpm rh-php56-php-xmlrpc-5.6.5-7.el7.x86_64.rpm
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7):
Source: rh-php56-php-5.6.5-7.el7.src.rpm
x86_64: rh-php56-php-5.6.5-7.el7.x86_64.rpm rh-php56-php-bcmath-5.6.5-7.el7.x86_64.rpm rh-php56-php-cli-5.6.5-7.el7.x86_64.rpm rh-php56-php-common-5.6.5-7.el7.x86_64.rpm rh-php56-php-dba-5.6.5-7.el7.x86_64.rpm rh-php56-php-dbg-5.6.5-7.el7.x86_64.rpm rh-php56-php-debuginfo-5.6.5-7.el7.x86_64.rpm rh-php56-php-devel-5.6.5-7.el7.x86_64.rpm rh-php56-php-embedded-5.6.5-7.el7.x86_64.rpm rh-php56-php-enchant-5.6.5-7.el7.x86_64.rpm rh-php56-php-fpm-5.6.5-7.el7.x86_64.rpm rh-php56-php-gd-5.6.5-7.el7.x86_64.rpm rh-php56-php-gmp-5.6.5-7.el7.x86_64.rpm rh-php56-php-intl-5.6.5-7.el7.x86_64.rpm rh-php56-php-ldap-5.6.5-7.el7.x86_64.rpm rh-php56-php-mbstring-5.6.5-7.el7.x86_64.rpm rh-php56-php-mysqlnd-5.6.5-7.el7.x86_64.rpm rh-php56-php-odbc-5.6.5-7.el7.x86_64.rpm rh-php56-php-opcache-5.6.5-7.el7.x86_64.rpm rh-php56-php-pdo-5.6.5-7.el7.x86_64.rpm rh-php56-php-pgsql-5.6.5-7.el7.x86_64.rpm rh-php56-php-process-5.6.5-7.el7.x86_64.rpm rh-php56-php-pspell-5.6.5-7.el7.x86_64.rpm rh-php56-php-recode-5.6.5-7.el7.x86_64.rpm rh-php56-php-snmp-5.6.5-7.el7.x86_64.rpm rh-php56-php-soap-5.6.5-7.el7.x86_64.rpm rh-php56-php-xml-5.6.5-7.el7.x86_64.rpm rh-php56-php-xmlrpc-5.6.5-7.el7.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/


Severity
Advisory ID: RHSA-2015:1187-01
Product: Red Hat Software Collections
Advisory URL: https://access.redhat.com/errata/RHSA-2015:1187.html
Issued Date: : 2015-06-25
CVE Names: CVE-2015-2783 CVE-2015-3307 CVE-2015-3329 CVE-2015-3330 CVE-2015-3411 CVE-2015-3412 CVE-2015-4021 CVE-2015-4022 CVE-2015-4024 CVE-2015-4025 CVE-2015-4026 CVE-2015-4598 CVE-2015-4602 CVE-2015-4603 CVE-2015-4604 CVE-2015-4605

Topic

Updated rh-php56-php packages that fix multiple security issues are nowavailable for Red Hat Software Collections 2.Red Hat Product Security has rated this update as having Important securityimpact. Common Vulnerability Scoring System (CVSS) base scores, which givedetailed severity ratings, are available for each vulnerability from theCVE links in the References section.


Topic


 

Relevant Releases Architectures

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.5) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) - x86_64

Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) - x86_64


Bugs Fixed

1213394 - CVE-2015-3330 php: pipelined request executed in deinitialized interpreter under httpd 2.4

1213407 - CVE-2015-3411 php: missing null byte checks for paths in various PHP extensions

1213442 - CVE-2015-4604 CVE-2015-4605 php: denial of service when processing a crafted file with Fileinfo

1213446 - CVE-2015-2783 php: buffer over-read in Phar metadata parsing

1213449 - CVE-2015-3329 php: buffer overflow in phar_set_inode()

1222485 - CVE-2015-4024 php: multipart/form-data request paring CPU usage DoS

1223408 - CVE-2015-4025 php: CVE-2006-7243 regressions in 5.4+

1223412 - CVE-2015-4022 php: integer overflow leading to heap overflow when reading FTP file listing

1223422 - CVE-2015-4026 php: pcntl_exec() accepts paths with NUL character

1223425 - CVE-2015-4021 php: memory corruption in phar_parse_tarfile caused by empty entry file name

1223441 - CVE-2015-3307 php: invalid pointer free() in phar_tar_process_metadata()

1232823 - CVE-2015-3412 php: missing null byte checks for paths in various PHP extensions

1232897 - CVE-2015-4598 php: missing null byte checks for paths in DOM and GD extensions

1232918 - CVE-2015-4603 php: exception::getTraceAsString type confusion issue after unserialize

1232923 - CVE-2015-4602 php: Incomplete Class unserialization type confusion


Related News