ALAS-2015-536


Amazon Linux 1 Security Advisory: ALAS-2015-536
Advisory Release Date: 2015-06-02 22:22 Pacific
Advisory Updated Date: 2015-06-02 22:33 Pacific
Severity: Important

Issue Overview:

An integer underflow flaw leading to out-of-bounds memory access was found in 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-4021)

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)

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)

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)

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-4026)

PCRE library is prone to a heap overflow vulnerability. Due to insufficient bounds checking inside compile_branch(), the heap memory could be overflowed via a crafted regular expression. Since PCRE library is widely used, this vulnerability should affect many applications using it. An attacker may exploit this issue to execute arbitrary code in the context of the user running the affected application. (CVE-2015-2325)

PCRE library is prone to a vulnerability which leads to Heap overflow. Without enough bound checking inside pcre_compile2(), the heap memory could be overflowed via a crafted regular expression. Since PCRE library is widely used, this vulnerability should affect many applications. An attacker may exploit this issue to execute arbitrary code in the context of the user running the affected application. (CVE-2015-2326)


Affected Packages:

php56


Issue Correction:
Run yum update php56 to update your system.

New Packages:
i686:
    php56-ldap-5.6.9-1.112.amzn1.i686
    php56-bcmath-5.6.9-1.112.amzn1.i686
    php56-cli-5.6.9-1.112.amzn1.i686
    php56-intl-5.6.9-1.112.amzn1.i686
    php56-devel-5.6.9-1.112.amzn1.i686
    php56-common-5.6.9-1.112.amzn1.i686
    php56-imap-5.6.9-1.112.amzn1.i686
    php56-gd-5.6.9-1.112.amzn1.i686
    php56-mysqlnd-5.6.9-1.112.amzn1.i686
    php56-mssql-5.6.9-1.112.amzn1.i686
    php56-enchant-5.6.9-1.112.amzn1.i686
    php56-debuginfo-5.6.9-1.112.amzn1.i686
    php56-process-5.6.9-1.112.amzn1.i686
    php56-fpm-5.6.9-1.112.amzn1.i686
    php56-pdo-5.6.9-1.112.amzn1.i686
    php56-odbc-5.6.9-1.112.amzn1.i686
    php56-xml-5.6.9-1.112.amzn1.i686
    php56-mcrypt-5.6.9-1.112.amzn1.i686
    php56-recode-5.6.9-1.112.amzn1.i686
    php56-dba-5.6.9-1.112.amzn1.i686
    php56-xmlrpc-5.6.9-1.112.amzn1.i686
    php56-pgsql-5.6.9-1.112.amzn1.i686
    php56-mbstring-5.6.9-1.112.amzn1.i686
    php56-pspell-5.6.9-1.112.amzn1.i686
    php56-5.6.9-1.112.amzn1.i686
    php56-embedded-5.6.9-1.112.amzn1.i686
    php56-gmp-5.6.9-1.112.amzn1.i686
    php56-soap-5.6.9-1.112.amzn1.i686
    php56-opcache-5.6.9-1.112.amzn1.i686
    php56-tidy-5.6.9-1.112.amzn1.i686
    php56-snmp-5.6.9-1.112.amzn1.i686
    php56-dbg-5.6.9-1.112.amzn1.i686

src:
    php56-5.6.9-1.112.amzn1.src

x86_64:
    php56-enchant-5.6.9-1.112.amzn1.x86_64
    php56-gmp-5.6.9-1.112.amzn1.x86_64
    php56-mysqlnd-5.6.9-1.112.amzn1.x86_64
    php56-imap-5.6.9-1.112.amzn1.x86_64
    php56-pgsql-5.6.9-1.112.amzn1.x86_64
    php56-common-5.6.9-1.112.amzn1.x86_64
    php56-5.6.9-1.112.amzn1.x86_64
    php56-soap-5.6.9-1.112.amzn1.x86_64
    php56-intl-5.6.9-1.112.amzn1.x86_64
    php56-debuginfo-5.6.9-1.112.amzn1.x86_64
    php56-opcache-5.6.9-1.112.amzn1.x86_64
    php56-embedded-5.6.9-1.112.amzn1.x86_64
    php56-dba-5.6.9-1.112.amzn1.x86_64
    php56-tidy-5.6.9-1.112.amzn1.x86_64
    php56-mssql-5.6.9-1.112.amzn1.x86_64
    php56-fpm-5.6.9-1.112.amzn1.x86_64
    php56-snmp-5.6.9-1.112.amzn1.x86_64
    php56-ldap-5.6.9-1.112.amzn1.x86_64
    php56-dbg-5.6.9-1.112.amzn1.x86_64
    php56-bcmath-5.6.9-1.112.amzn1.x86_64
    php56-xmlrpc-5.6.9-1.112.amzn1.x86_64
    php56-process-5.6.9-1.112.amzn1.x86_64
    php56-gd-5.6.9-1.112.amzn1.x86_64
    php56-devel-5.6.9-1.112.amzn1.x86_64
    php56-mbstring-5.6.9-1.112.amzn1.x86_64
    php56-recode-5.6.9-1.112.amzn1.x86_64
    php56-mcrypt-5.6.9-1.112.amzn1.x86_64
    php56-pspell-5.6.9-1.112.amzn1.x86_64
    php56-pdo-5.6.9-1.112.amzn1.x86_64
    php56-odbc-5.6.9-1.112.amzn1.x86_64
    php56-cli-5.6.9-1.112.amzn1.x86_64
    php56-xml-5.6.9-1.112.amzn1.x86_64