Issued:
2014-09-30
Updated:
2014-09-30

RHSA-2014:1327 - Moderate: php security update


Synopsis

Moderate: php security update

Type/Severity

Security Advisory Moderate

Topic

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

Red Hat Product Security has rated this update as having Moderate 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. PHP's fileinfo module provides functions used to identify a particular file according to the type of data contained by the file.

A buffer overflow flaw was found in the way the File Information (fileinfo) extension processed certain Pascal strings. A remote attacker able to make a PHP application using fileinfo convert a specially crafted Pascal string provided by an image file could cause that application to crash. (CVE-2014-3478)

Multiple flaws were found in the File Information (fileinfo) extension regular expression rules for detecting various files. A remote attacker could use either of these flaws to cause a PHP application using fileinfo to consume an excessive amount of CPU. (CVE-2014-3538)

It was found that the fix for CVE-2012-1571 was incomplete; the File Information (fileinfo) extension did not correctly parse certain Composite Document Format (CDF) files. A remote attacker could use this flaw to crash a PHP application using fileinfo via a specially crafted CDF file. (CVE-2014-3587)

It was found that PHP's gd extension did not properly handle file names with a null character. A remote attacker could possibly use this flaw to make a PHP application access unexpected files and bypass intended file system access restrictions. (CVE-2014-5120)

A NULL pointer dereference flaw was found in the gdImageCreateFromXpm() function of PHP's gd extension. A remote attacker could use this flaw to crash a PHP application using gd via a specially crafted X PixMap (XPM) file. (CVE-2014-2497)

Multiple buffer over-read flaws were found in the php_parserr() function of PHP. A malicious DNS server or a man-in-the-middle attacker could possibly use this flaw to execute arbitrary code as the PHP interpreter if a PHP application used the dns_get_record() function to perform a DNS query. (CVE-2014-3597)

Two use-after-free flaws were found in the way PHP handled certain Standard PHP Library (SPL) Iterators and ArrayIterators. A malicious script author could possibly use either of these flaws to disclose certain portions of server memory. (CVE-2014-4670, CVE-2014-4698)

The CVE-2014-3478 issue was discovered by Francisco Alonso of Red Hat Product Security, the CVE-2014-3538 issue was discovered by Jan Kaluža of the Red Hat Web Stack Team, and the CVE-2014-3597 issue was discovered by David Kutálek of the Red Hat BaseOS QE.

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.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at 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 - 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 Scientific Computing7x86_64
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 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 Workstation7x86_64
Red Hat Enterprise Linux Server7x86_64
Red Hat Enterprise Linux Server from RHUI7x86_64
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, 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 Desktop7x86_64

Updated Packages

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

Fixes

CVEs

References


Additional information