ALAS-2018-946


Amazon Linux AMI Security Advisory: ALAS-2018-946
Advisory Release Date: 2018-02-07 17:10 Pacific
Severity: Medium

Issue Overview:

Reflected XSS in .phar 404 page
An issue was discovered in PHP; there is Reflected XSS on the PHAR 404 error page via the URI of a request for a .phar file. (CVE-2018-5712 )

Denial of Service (DoS) via infinite loop in libgd gdImageCreateFromGifCtx function in ext/gd/libgd/gd_gif_in.c
The gd_gif_in.c file in the GD Graphics Library (aka libgd), as used in PHP has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx. (CVE-2018-5711 )


Affected Packages:

php56,php70,php71


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

New Packages:
i686:
    php71-soap-7.1.13-1.30.amzn1.i686
    php71-intl-7.1.13-1.30.amzn1.i686
    php71-ldap-7.1.13-1.30.amzn1.i686
    php71-7.1.13-1.30.amzn1.i686
    php71-pspell-7.1.13-1.30.amzn1.i686
    php71-opcache-7.1.13-1.30.amzn1.i686
    php71-gmp-7.1.13-1.30.amzn1.i686
    php71-snmp-7.1.13-1.30.amzn1.i686
    php71-odbc-7.1.13-1.30.amzn1.i686
    php71-embedded-7.1.13-1.30.amzn1.i686
    php71-pgsql-7.1.13-1.30.amzn1.i686
    php71-tidy-7.1.13-1.30.amzn1.i686
    php71-xmlrpc-7.1.13-1.30.amzn1.i686
    php71-imap-7.1.13-1.30.amzn1.i686
    php71-process-7.1.13-1.30.amzn1.i686
    php71-bcmath-7.1.13-1.30.amzn1.i686
    php71-debuginfo-7.1.13-1.30.amzn1.i686
    php71-json-7.1.13-1.30.amzn1.i686
    php71-pdo-dblib-7.1.13-1.30.amzn1.i686
    php71-dba-7.1.13-1.30.amzn1.i686
    php71-dbg-7.1.13-1.30.amzn1.i686
    php71-mbstring-7.1.13-1.30.amzn1.i686
    php71-fpm-7.1.13-1.30.amzn1.i686
    php71-mysqlnd-7.1.13-1.30.amzn1.i686
    php71-mcrypt-7.1.13-1.30.amzn1.i686
    php71-cli-7.1.13-1.30.amzn1.i686
    php71-common-7.1.13-1.30.amzn1.i686
    php71-recode-7.1.13-1.30.amzn1.i686
    php71-devel-7.1.13-1.30.amzn1.i686
    php71-enchant-7.1.13-1.30.amzn1.i686
    php71-gd-7.1.13-1.30.amzn1.i686
    php71-pdo-7.1.13-1.30.amzn1.i686
    php71-xml-7.1.13-1.30.amzn1.i686
    php70-mysqlnd-7.0.27-1.27.amzn1.i686
    php70-snmp-7.0.27-1.27.amzn1.i686
    php70-pdo-7.0.27-1.27.amzn1.i686
    php70-bcmath-7.0.27-1.27.amzn1.i686
    php70-gmp-7.0.27-1.27.amzn1.i686
    php70-dbg-7.0.27-1.27.amzn1.i686
    php70-soap-7.0.27-1.27.amzn1.i686
    php70-embedded-7.0.27-1.27.amzn1.i686
    php70-pgsql-7.0.27-1.27.amzn1.i686
    php70-ldap-7.0.27-1.27.amzn1.i686
    php70-recode-7.0.27-1.27.amzn1.i686
    php70-devel-7.0.27-1.27.amzn1.i686
    php70-mbstring-7.0.27-1.27.amzn1.i686
    php70-odbc-7.0.27-1.27.amzn1.i686
    php70-opcache-7.0.27-1.27.amzn1.i686
    php70-enchant-7.0.27-1.27.amzn1.i686
    php70-common-7.0.27-1.27.amzn1.i686
    php70-imap-7.0.27-1.27.amzn1.i686
    php70-mcrypt-7.0.27-1.27.amzn1.i686
    php70-tidy-7.0.27-1.27.amzn1.i686
    php70-intl-7.0.27-1.27.amzn1.i686
    php70-gd-7.0.27-1.27.amzn1.i686
    php70-xml-7.0.27-1.27.amzn1.i686
    php70-xmlrpc-7.0.27-1.27.amzn1.i686
    php70-zip-7.0.27-1.27.amzn1.i686
    php70-cli-7.0.27-1.27.amzn1.i686
    php70-fpm-7.0.27-1.27.amzn1.i686
    php70-process-7.0.27-1.27.amzn1.i686
    php70-dba-7.0.27-1.27.amzn1.i686
    php70-7.0.27-1.27.amzn1.i686
    php70-pspell-7.0.27-1.27.amzn1.i686
    php70-json-7.0.27-1.27.amzn1.i686
    php70-pdo-dblib-7.0.27-1.27.amzn1.i686
    php70-debuginfo-7.0.27-1.27.amzn1.i686
    php56-mysqlnd-5.6.33-1.136.amzn1.i686
    php56-tidy-5.6.33-1.136.amzn1.i686
    php56-5.6.33-1.136.amzn1.i686
    php56-soap-5.6.33-1.136.amzn1.i686
    php56-mssql-5.6.33-1.136.amzn1.i686
    php56-pspell-5.6.33-1.136.amzn1.i686
    php56-enchant-5.6.33-1.136.amzn1.i686
    php56-xmlrpc-5.6.33-1.136.amzn1.i686
    php56-odbc-5.6.33-1.136.amzn1.i686
    php56-process-5.6.33-1.136.amzn1.i686
    php56-imap-5.6.33-1.136.amzn1.i686
    php56-recode-5.6.33-1.136.amzn1.i686
    php56-pgsql-5.6.33-1.136.amzn1.i686
    php56-gmp-5.6.33-1.136.amzn1.i686
    php56-cli-5.6.33-1.136.amzn1.i686
    php56-snmp-5.6.33-1.136.amzn1.i686
    php56-dbg-5.6.33-1.136.amzn1.i686
    php56-embedded-5.6.33-1.136.amzn1.i686
    php56-debuginfo-5.6.33-1.136.amzn1.i686
    php56-intl-5.6.33-1.136.amzn1.i686
    php56-bcmath-5.6.33-1.136.amzn1.i686
    php56-xml-5.6.33-1.136.amzn1.i686
    php56-ldap-5.6.33-1.136.amzn1.i686
    php56-gd-5.6.33-1.136.amzn1.i686
    php56-fpm-5.6.33-1.136.amzn1.i686
    php56-pdo-5.6.33-1.136.amzn1.i686
    php56-devel-5.6.33-1.136.amzn1.i686
    php56-common-5.6.33-1.136.amzn1.i686
    php56-opcache-5.6.33-1.136.amzn1.i686
    php56-dba-5.6.33-1.136.amzn1.i686
    php56-mbstring-5.6.33-1.136.amzn1.i686
    php56-mcrypt-5.6.33-1.136.amzn1.i686

src:
    php71-7.1.13-1.30.amzn1.src
    php70-7.0.27-1.27.amzn1.src
    php56-5.6.33-1.136.amzn1.src

x86_64:
    php71-debuginfo-7.1.13-1.30.amzn1.x86_64
    php71-gd-7.1.13-1.30.amzn1.x86_64
    php71-odbc-7.1.13-1.30.amzn1.x86_64
    php71-process-7.1.13-1.30.amzn1.x86_64
    php71-imap-7.1.13-1.30.amzn1.x86_64
    php71-mbstring-7.1.13-1.30.amzn1.x86_64
    php71-mcrypt-7.1.13-1.30.amzn1.x86_64
    php71-gmp-7.1.13-1.30.amzn1.x86_64
    php71-soap-7.1.13-1.30.amzn1.x86_64
    php71-ldap-7.1.13-1.30.amzn1.x86_64
    php71-snmp-7.1.13-1.30.amzn1.x86_64
    php71-enchant-7.1.13-1.30.amzn1.x86_64
    php71-tidy-7.1.13-1.30.amzn1.x86_64
    php71-pdo-dblib-7.1.13-1.30.amzn1.x86_64
    php71-json-7.1.13-1.30.amzn1.x86_64
    php71-embedded-7.1.13-1.30.amzn1.x86_64
    php71-devel-7.1.13-1.30.amzn1.x86_64
    php71-7.1.13-1.30.amzn1.x86_64
    php71-pspell-7.1.13-1.30.amzn1.x86_64
    php71-common-7.1.13-1.30.amzn1.x86_64
    php71-recode-7.1.13-1.30.amzn1.x86_64
    php71-xmlrpc-7.1.13-1.30.amzn1.x86_64
    php71-pgsql-7.1.13-1.30.amzn1.x86_64
    php71-cli-7.1.13-1.30.amzn1.x86_64
    php71-dbg-7.1.13-1.30.amzn1.x86_64
    php71-xml-7.1.13-1.30.amzn1.x86_64
    php71-opcache-7.1.13-1.30.amzn1.x86_64
    php71-fpm-7.1.13-1.30.amzn1.x86_64
    php71-mysqlnd-7.1.13-1.30.amzn1.x86_64
    php71-dba-7.1.13-1.30.amzn1.x86_64
    php71-intl-7.1.13-1.30.amzn1.x86_64
    php71-pdo-7.1.13-1.30.amzn1.x86_64
    php71-bcmath-7.1.13-1.30.amzn1.x86_64
    php70-debuginfo-7.0.27-1.27.amzn1.x86_64
    php70-dba-7.0.27-1.27.amzn1.x86_64
    php70-mcrypt-7.0.27-1.27.amzn1.x86_64
    php70-7.0.27-1.27.amzn1.x86_64
    php70-tidy-7.0.27-1.27.amzn1.x86_64
    php70-bcmath-7.0.27-1.27.amzn1.x86_64
    php70-opcache-7.0.27-1.27.amzn1.x86_64
    php70-fpm-7.0.27-1.27.amzn1.x86_64
    php70-pdo-7.0.27-1.27.amzn1.x86_64
    php70-mysqlnd-7.0.27-1.27.amzn1.x86_64
    php70-dbg-7.0.27-1.27.amzn1.x86_64
    php70-gmp-7.0.27-1.27.amzn1.x86_64
    php70-process-7.0.27-1.27.amzn1.x86_64
    php70-imap-7.0.27-1.27.amzn1.x86_64
    php70-snmp-7.0.27-1.27.amzn1.x86_64
    php70-cli-7.0.27-1.27.amzn1.x86_64
    php70-ldap-7.0.27-1.27.amzn1.x86_64
    php70-enchant-7.0.27-1.27.amzn1.x86_64
    php70-intl-7.0.27-1.27.amzn1.x86_64
    php70-odbc-7.0.27-1.27.amzn1.x86_64
    php70-json-7.0.27-1.27.amzn1.x86_64
    php70-devel-7.0.27-1.27.amzn1.x86_64
    php70-recode-7.0.27-1.27.amzn1.x86_64
    php70-pspell-7.0.27-1.27.amzn1.x86_64
    php70-common-7.0.27-1.27.amzn1.x86_64
    php70-soap-7.0.27-1.27.amzn1.x86_64
    php70-xml-7.0.27-1.27.amzn1.x86_64
    php70-xmlrpc-7.0.27-1.27.amzn1.x86_64
    php70-pdo-dblib-7.0.27-1.27.amzn1.x86_64
    php70-pgsql-7.0.27-1.27.amzn1.x86_64
    php70-gd-7.0.27-1.27.amzn1.x86_64
    php70-zip-7.0.27-1.27.amzn1.x86_64
    php70-embedded-7.0.27-1.27.amzn1.x86_64
    php70-mbstring-7.0.27-1.27.amzn1.x86_64
    php56-intl-5.6.33-1.136.amzn1.x86_64
    php56-cli-5.6.33-1.136.amzn1.x86_64
    php56-pspell-5.6.33-1.136.amzn1.x86_64
    php56-gmp-5.6.33-1.136.amzn1.x86_64
    php56-soap-5.6.33-1.136.amzn1.x86_64
    php56-devel-5.6.33-1.136.amzn1.x86_64
    php56-process-5.6.33-1.136.amzn1.x86_64
    php56-enchant-5.6.33-1.136.amzn1.x86_64
    php56-xml-5.6.33-1.136.amzn1.x86_64
    php56-mssql-5.6.33-1.136.amzn1.x86_64
    php56-snmp-5.6.33-1.136.amzn1.x86_64
    php56-pdo-5.6.33-1.136.amzn1.x86_64
    php56-debuginfo-5.6.33-1.136.amzn1.x86_64
    php56-xmlrpc-5.6.33-1.136.amzn1.x86_64
    php56-mcrypt-5.6.33-1.136.amzn1.x86_64
    php56-dba-5.6.33-1.136.amzn1.x86_64
    php56-bcmath-5.6.33-1.136.amzn1.x86_64
    php56-opcache-5.6.33-1.136.amzn1.x86_64
    php56-dbg-5.6.33-1.136.amzn1.x86_64
    php56-pgsql-5.6.33-1.136.amzn1.x86_64
    php56-common-5.6.33-1.136.amzn1.x86_64
    php56-ldap-5.6.33-1.136.amzn1.x86_64
    php56-odbc-5.6.33-1.136.amzn1.x86_64
    php56-5.6.33-1.136.amzn1.x86_64
    php56-recode-5.6.33-1.136.amzn1.x86_64
    php56-mbstring-5.6.33-1.136.amzn1.x86_64
    php56-fpm-5.6.33-1.136.amzn1.x86_64
    php56-imap-5.6.33-1.136.amzn1.x86_64
    php56-gd-5.6.33-1.136.amzn1.x86_64
    php56-embedded-5.6.33-1.136.amzn1.x86_64
    php56-mysqlnd-5.6.33-1.136.amzn1.x86_64
    php56-tidy-5.6.33-1.136.amzn1.x86_64