Issued:
2015-06-23
Updated:
2015-06-23

RHSA-2015:1135 - Important: php security and bug fix update


Synopsis

Important: php security and bug fix update

Type/Severity

Security Advisory Important

Topic

Updated php packages that fix multiple security issues and several bugs are now available for Red Hat Enterprise Linux 7.

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.

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 uninitialized pointer use flaw was found in PHP's Exif extension. A specially crafted JPEG or TIFF file could cause a PHP application using the exif_read_data() function to crash or, possibly, execute arbitrary code with the privileges of the user running that PHP application. (CVE-2015-0232)

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-2014-8142, CVE-2015-0231, CVE-2015-0273, CVE-2015-2787, CVE-2015-4147, CVE-2015-4148, CVE-2015-4599, CVE-2015-4600, CVE-2015-4601, 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-2348, 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-2301, 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-2014-9652, CVE-2015-4604, CVE-2015-4605)

A heap buffer overflow flaw was found in the enchant_broker_request_dict() function of PHP's enchant extension. An attacker able to make a PHP application enchant dictionaries could possibly cause it to crash. (CVE-2014-9705)

A buffer over-read flaw was found in the GD library used by the PHP gd extension. A specially crafted GIF file could cause a PHP application using the imagecreatefromgif() function to crash. (CVE-2014-9709)

This update also fixes the following bugs:

  • The libgmp library in some cases terminated unexpectedly with a segmentation fault when being used with other libraries that use the GMP memory management. With this update, PHP no longer changes libgmp memory allocators, which prevents the described crash from occurring. (BZ#1212305)

  • When using the Open Database Connectivity (ODBC) API, the PHP process in some cases terminated unexpectedly with a segmentation fault. The underlying code has been adjusted to prevent this crash. (BZ#1212299)

  • Previously, running PHP on a big-endian system sometimes led to memory corruption in the fileinfo module. This update adjusts the behavior of the PHP pointer so that it can be freed without causing memory corruption. (BZ#1212298)

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

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

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.7x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.6x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.4x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.3x86_64
Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions7.2x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.7x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.6x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.5x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.4x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.3x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.2x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support7.1x86_64
Red Hat Enterprise Linux for Scientific Computing7x86_64
Red Hat Enterprise Linux for Power, little endian7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.7ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.6ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.5ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.4ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.3ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.2ppc64le
Red Hat Enterprise Linux for Power, little endian - Extended Update Support7.1ppc64le
Red Hat Enterprise Linux for Power, big endian7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.7ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.6ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.5ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.4ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.3ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.2ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support7.1ppc64
Red Hat Enterprise Linux for IBM z Systems7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.7s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.5s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.4s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.3s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.2s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support7.1s390x
Red Hat Enterprise Linux Workstation7x86_64
Red Hat Enterprise Linux Server7x86_64
Red Hat Enterprise Linux Server from RHUI7x86_64
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.7ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.6ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.4ppc64le
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions7.3ppc64le
Red Hat Enterprise Linux Server - TUS7.7x86_64
Red Hat Enterprise Linux Server - TUS7.6x86_64
Red Hat Enterprise Linux Server - TUS7.3x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support7x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian7ppc64le
Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian7ppc64
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)7s390x
Red Hat Enterprise Linux Server - AUS7.7x86_64
Red Hat Enterprise Linux Server - AUS7.6x86_64
Red Hat Enterprise Linux Server - AUS7.4x86_64
Red Hat Enterprise Linux Server - AUS7.3x86_64
Red Hat Enterprise Linux EUS Compute Node7.7x86_64
Red Hat Enterprise Linux EUS Compute Node7.6x86_64
Red Hat Enterprise Linux EUS Compute Node7.5x86_64
Red Hat Enterprise Linux EUS Compute Node7.4x86_64
Red Hat Enterprise Linux EUS Compute Node7.3x86_64
Red Hat Enterprise Linux EUS Compute Node7.2x86_64
Red Hat Enterprise Linux EUS Compute Node7.1x86_64
Red Hat Enterprise Linux Desktop7x86_64

Updated Packages

  • php-odbc-5.4.16-36.el7_1.x86_64.rpm
  • php-fpm-5.4.16-36.el7_1.ppc64.rpm
  • php-mbstring-5.4.16-36.el7_1.ppc64.rpm
  • php-process-5.4.16-36.el7_1.x86_64.rpm
  • php-dba-5.4.16-36.el7_1.s390x.rpm
  • php-devel-5.4.16-36.el7_1.s390x.rpm
  • php-pgsql-5.4.16-36.el7_1.ppc64.rpm
  • php-xml-5.4.16-36.el7_1.ppc64.rpm
  • php-cli-5.4.16-36.el7_1.s390x.rpm
  • php-process-5.4.16-36.el7_1.ppc64.rpm
  • php-odbc-5.4.16-36.el7_1.s390x.rpm
  • php-recode-5.4.16-36.el7_1.x86_64.rpm
  • php-mysqlnd-5.4.16-36.el7_1.x86_64.rpm
  • php-bcmath-5.4.16-36.el7_1.ppc64.rpm
  • php-recode-5.4.16-36.el7_1.s390x.rpm
  • php-enchant-5.4.16-36.el7_1.x86_64.rpm
  • php-mysqlnd-5.4.16-36.el7_1.ppc64.rpm
  • php-ldap-5.4.16-36.el7_1.ppc64.rpm
  • php-xmlrpc-5.4.16-36.el7_1.x86_64.rpm
  • php-gd-5.4.16-36.el7_1.s390x.rpm
  • php-pspell-5.4.16-36.el7_1.s390x.rpm
  • php-odbc-5.4.16-36.el7_1.ppc64.rpm
  • php-enchant-5.4.16-36.el7_1.ppc64.rpm
  • php-soap-5.4.16-36.el7_1.ppc64.rpm
  • php-pdo-5.4.16-36.el7_1.ppc64.rpm
  • php-debuginfo-5.4.16-36.el7_1.x86_64.rpm
  • php-enchant-5.4.16-36.el7_1.s390x.rpm
  • php-devel-5.4.16-36.el7_1.ppc64.rpm
  • php-xmlrpc-5.4.16-36.el7_1.s390x.rpm
  • php-5.4.16-36.el7_1.src.rpm
  • php-pspell-5.4.16-36.el7_1.x86_64.rpm
  • php-gd-5.4.16-36.el7_1.x86_64.rpm
  • php-snmp-5.4.16-36.el7_1.s390x.rpm
  • php-pgsql-5.4.16-36.el7_1.x86_64.rpm
  • php-5.4.16-36.el7_1.x86_64.rpm
  • php-mbstring-5.4.16-36.el7_1.x86_64.rpm
  • php-devel-5.4.16-36.el7_1.x86_64.rpm
  • php-pspell-5.4.16-36.el7_1.ppc64.rpm
  • php-snmp-5.4.16-36.el7_1.ppc64.rpm
  • php-embedded-5.4.16-36.el7_1.x86_64.rpm
  • php-intl-5.4.16-36.el7_1.x86_64.rpm
  • php-gd-5.4.16-36.el7_1.ppc64.rpm
  • php-common-5.4.16-36.el7_1.x86_64.rpm
  • php-mysql-5.4.16-36.el7_1.ppc64.rpm
  • php-intl-5.4.16-36.el7_1.s390x.rpm
  • php-fpm-5.4.16-36.el7_1.s390x.rpm
  • php-debuginfo-5.4.16-36.el7_1.s390x.rpm
  • php-pgsql-5.4.16-36.el7_1.s390x.rpm
  • php-5.4.16-36.el7_1.s390x.rpm
  • php-ldap-5.4.16-36.el7_1.x86_64.rpm
  • php-mysql-5.4.16-36.el7_1.x86_64.rpm
  • php-5.4.16-36.el7_1.ppc64.rpm
  • php-cli-5.4.16-36.el7_1.ppc64.rpm
  • php-mysql-5.4.16-36.el7_1.s390x.rpm
  • php-bcmath-5.4.16-36.el7_1.s390x.rpm
  • php-fpm-5.4.16-36.el7_1.x86_64.rpm
  • php-xml-5.4.16-36.el7_1.x86_64.rpm
  • php-pdo-5.4.16-36.el7_1.s390x.rpm
  • php-bcmath-5.4.16-36.el7_1.x86_64.rpm
  • php-embedded-5.4.16-36.el7_1.ppc64.rpm
  • php-xmlrpc-5.4.16-36.el7_1.ppc64.rpm
  • php-common-5.4.16-36.el7_1.s390x.rpm
  • php-process-5.4.16-36.el7_1.s390x.rpm
  • php-mbstring-5.4.16-36.el7_1.s390x.rpm
  • php-snmp-5.4.16-36.el7_1.x86_64.rpm
  • php-pdo-5.4.16-36.el7_1.x86_64.rpm
  • php-recode-5.4.16-36.el7_1.ppc64.rpm
  • php-cli-5.4.16-36.el7_1.x86_64.rpm
  • php-ldap-5.4.16-36.el7_1.s390x.rpm
  • php-dba-5.4.16-36.el7_1.x86_64.rpm
  • php-common-5.4.16-36.el7_1.ppc64.rpm
  • php-soap-5.4.16-36.el7_1.x86_64.rpm
  • php-soap-5.4.16-36.el7_1.s390x.rpm
  • php-embedded-5.4.16-36.el7_1.s390x.rpm
  • php-mysqlnd-5.4.16-36.el7_1.s390x.rpm
  • php-debuginfo-5.4.16-36.el7_1.ppc64.rpm
  • php-dba-5.4.16-36.el7_1.ppc64.rpm
  • php-intl-5.4.16-36.el7_1.ppc64.rpm
  • php-xml-5.4.16-36.el7_1.s390x.rpm

Fixes

CVEs

References


Additional information