Amazon Linux 1 Security Advisory: ALAS-2019-1147
Advisory Release Date: 2019-01-09 22:58 Pacific
Advisory Updated Date: 2019-01-12 03:29 Pacific
ext/imap/php_imap.c in PHP 5.x and 7.x before 7.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via an empty string in the message argument to the imap_mail function.(CVE-2018-19935)
University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.(CVE-2018-19518)
Affected Packages:
php56, php70, php71, php72
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.
Run yum update php72 to update your system.
i686:
php70-soap-7.0.33-1.32.amzn1.i686
php70-json-7.0.33-1.32.amzn1.i686
php70-mbstring-7.0.33-1.32.amzn1.i686
php70-opcache-7.0.33-1.32.amzn1.i686
php70-tidy-7.0.33-1.32.amzn1.i686
php70-xml-7.0.33-1.32.amzn1.i686
php70-gd-7.0.33-1.32.amzn1.i686
php70-common-7.0.33-1.32.amzn1.i686
php70-snmp-7.0.33-1.32.amzn1.i686
php70-gmp-7.0.33-1.32.amzn1.i686
php70-ldap-7.0.33-1.32.amzn1.i686
php70-mysqlnd-7.0.33-1.32.amzn1.i686
php70-mcrypt-7.0.33-1.32.amzn1.i686
php70-pdo-7.0.33-1.32.amzn1.i686
php70-embedded-7.0.33-1.32.amzn1.i686
php70-process-7.0.33-1.32.amzn1.i686
php70-intl-7.0.33-1.32.amzn1.i686
php70-bcmath-7.0.33-1.32.amzn1.i686
php70-7.0.33-1.32.amzn1.i686
php70-recode-7.0.33-1.32.amzn1.i686
php70-xmlrpc-7.0.33-1.32.amzn1.i686
php70-pdo-dblib-7.0.33-1.32.amzn1.i686
php70-cli-7.0.33-1.32.amzn1.i686
php70-pspell-7.0.33-1.32.amzn1.i686
php70-dba-7.0.33-1.32.amzn1.i686
php70-dbg-7.0.33-1.32.amzn1.i686
php70-odbc-7.0.33-1.32.amzn1.i686
php70-enchant-7.0.33-1.32.amzn1.i686
php70-fpm-7.0.33-1.32.amzn1.i686
php70-pgsql-7.0.33-1.32.amzn1.i686
php70-devel-7.0.33-1.32.amzn1.i686
php70-zip-7.0.33-1.32.amzn1.i686
php70-imap-7.0.33-1.32.amzn1.i686
php70-debuginfo-7.0.33-1.32.amzn1.i686
php56-xml-5.6.39-1.141.amzn1.i686
php56-pdo-5.6.39-1.141.amzn1.i686
php56-dbg-5.6.39-1.141.amzn1.i686
php56-ldap-5.6.39-1.141.amzn1.i686
php56-mbstring-5.6.39-1.141.amzn1.i686
php56-dba-5.6.39-1.141.amzn1.i686
php56-cli-5.6.39-1.141.amzn1.i686
php56-process-5.6.39-1.141.amzn1.i686
php56-common-5.6.39-1.141.amzn1.i686
php56-odbc-5.6.39-1.141.amzn1.i686
php56-xmlrpc-5.6.39-1.141.amzn1.i686
php56-devel-5.6.39-1.141.amzn1.i686
php56-mysqlnd-5.6.39-1.141.amzn1.i686
php56-opcache-5.6.39-1.141.amzn1.i686
php56-fpm-5.6.39-1.141.amzn1.i686
php56-debuginfo-5.6.39-1.141.amzn1.i686
php56-embedded-5.6.39-1.141.amzn1.i686
php56-gd-5.6.39-1.141.amzn1.i686
php56-imap-5.6.39-1.141.amzn1.i686
php56-enchant-5.6.39-1.141.amzn1.i686
php56-mssql-5.6.39-1.141.amzn1.i686
php56-soap-5.6.39-1.141.amzn1.i686
php56-mcrypt-5.6.39-1.141.amzn1.i686
php56-bcmath-5.6.39-1.141.amzn1.i686
php56-tidy-5.6.39-1.141.amzn1.i686
php56-gmp-5.6.39-1.141.amzn1.i686
php56-intl-5.6.39-1.141.amzn1.i686
php56-recode-5.6.39-1.141.amzn1.i686
php56-pgsql-5.6.39-1.141.amzn1.i686
php56-5.6.39-1.141.amzn1.i686
php56-snmp-5.6.39-1.141.amzn1.i686
php56-pspell-5.6.39-1.141.amzn1.i686
php71-common-7.1.25-1.35.amzn1.i686
php71-enchant-7.1.25-1.35.amzn1.i686
php71-intl-7.1.25-1.35.amzn1.i686
php71-pdo-dblib-7.1.25-1.35.amzn1.i686
php71-7.1.25-1.35.amzn1.i686
php71-debuginfo-7.1.25-1.35.amzn1.i686
php71-tidy-7.1.25-1.35.amzn1.i686
php71-gmp-7.1.25-1.35.amzn1.i686
php71-bcmath-7.1.25-1.35.amzn1.i686
php71-embedded-7.1.25-1.35.amzn1.i686
php71-fpm-7.1.25-1.35.amzn1.i686
php71-gd-7.1.25-1.35.amzn1.i686
php71-cli-7.1.25-1.35.amzn1.i686
php71-pgsql-7.1.25-1.35.amzn1.i686
php71-snmp-7.1.25-1.35.amzn1.i686
php71-ldap-7.1.25-1.35.amzn1.i686
php71-xml-7.1.25-1.35.amzn1.i686
php71-dbg-7.1.25-1.35.amzn1.i686
php71-odbc-7.1.25-1.35.amzn1.i686
php71-json-7.1.25-1.35.amzn1.i686
php71-xmlrpc-7.1.25-1.35.amzn1.i686
php71-imap-7.1.25-1.35.amzn1.i686
php71-mysqlnd-7.1.25-1.35.amzn1.i686
php71-devel-7.1.25-1.35.amzn1.i686
php71-mcrypt-7.1.25-1.35.amzn1.i686
php71-recode-7.1.25-1.35.amzn1.i686
php71-process-7.1.25-1.35.amzn1.i686
php71-opcache-7.1.25-1.35.amzn1.i686
php71-dba-7.1.25-1.35.amzn1.i686
php71-soap-7.1.25-1.35.amzn1.i686
php71-pdo-7.1.25-1.35.amzn1.i686
php71-pspell-7.1.25-1.35.amzn1.i686
php71-mbstring-7.1.25-1.35.amzn1.i686
php72-pspell-7.2.13-1.7.amzn1.i686
php72-imap-7.2.13-1.7.amzn1.i686
php72-7.2.13-1.7.amzn1.i686
php72-json-7.2.13-1.7.amzn1.i686
php72-dbg-7.2.13-1.7.amzn1.i686
php72-intl-7.2.13-1.7.amzn1.i686
php72-mysqlnd-7.2.13-1.7.amzn1.i686
php72-enchant-7.2.13-1.7.amzn1.i686
php72-embedded-7.2.13-1.7.amzn1.i686
php72-debuginfo-7.2.13-1.7.amzn1.i686
php72-pgsql-7.2.13-1.7.amzn1.i686
php72-common-7.2.13-1.7.amzn1.i686
php72-pdo-dblib-7.2.13-1.7.amzn1.i686
php72-recode-7.2.13-1.7.amzn1.i686
php72-mbstring-7.2.13-1.7.amzn1.i686
php72-bcmath-7.2.13-1.7.amzn1.i686
php72-tidy-7.2.13-1.7.amzn1.i686
php72-gd-7.2.13-1.7.amzn1.i686
php72-soap-7.2.13-1.7.amzn1.i686
php72-ldap-7.2.13-1.7.amzn1.i686
php72-devel-7.2.13-1.7.amzn1.i686
php72-odbc-7.2.13-1.7.amzn1.i686
php72-gmp-7.2.13-1.7.amzn1.i686
php72-dba-7.2.13-1.7.amzn1.i686
php72-xml-7.2.13-1.7.amzn1.i686
php72-snmp-7.2.13-1.7.amzn1.i686
php72-opcache-7.2.13-1.7.amzn1.i686
php72-fpm-7.2.13-1.7.amzn1.i686
php72-pdo-7.2.13-1.7.amzn1.i686
php72-cli-7.2.13-1.7.amzn1.i686
php72-xmlrpc-7.2.13-1.7.amzn1.i686
php72-process-7.2.13-1.7.amzn1.i686
src:
php70-7.0.33-1.32.amzn1.src
php56-5.6.39-1.141.amzn1.src
php71-7.1.25-1.35.amzn1.src
php72-7.2.13-1.7.amzn1.src
x86_64:
php70-gd-7.0.33-1.32.amzn1.x86_64
php70-embedded-7.0.33-1.32.amzn1.x86_64
php70-pgsql-7.0.33-1.32.amzn1.x86_64
php70-ldap-7.0.33-1.32.amzn1.x86_64
php70-process-7.0.33-1.32.amzn1.x86_64
php70-intl-7.0.33-1.32.amzn1.x86_64
php70-common-7.0.33-1.32.amzn1.x86_64
php70-opcache-7.0.33-1.32.amzn1.x86_64
php70-cli-7.0.33-1.32.amzn1.x86_64
php70-enchant-7.0.33-1.32.amzn1.x86_64
php70-fpm-7.0.33-1.32.amzn1.x86_64
php70-recode-7.0.33-1.32.amzn1.x86_64
php70-bcmath-7.0.33-1.32.amzn1.x86_64
php70-mbstring-7.0.33-1.32.amzn1.x86_64
php70-soap-7.0.33-1.32.amzn1.x86_64
php70-pdo-dblib-7.0.33-1.32.amzn1.x86_64
php70-debuginfo-7.0.33-1.32.amzn1.x86_64
php70-mysqlnd-7.0.33-1.32.amzn1.x86_64
php70-snmp-7.0.33-1.32.amzn1.x86_64
php70-7.0.33-1.32.amzn1.x86_64
php70-dbg-7.0.33-1.32.amzn1.x86_64
php70-pspell-7.0.33-1.32.amzn1.x86_64
php70-dba-7.0.33-1.32.amzn1.x86_64
php70-odbc-7.0.33-1.32.amzn1.x86_64
php70-xmlrpc-7.0.33-1.32.amzn1.x86_64
php70-devel-7.0.33-1.32.amzn1.x86_64
php70-pdo-7.0.33-1.32.amzn1.x86_64
php70-xml-7.0.33-1.32.amzn1.x86_64
php70-zip-7.0.33-1.32.amzn1.x86_64
php70-imap-7.0.33-1.32.amzn1.x86_64
php70-gmp-7.0.33-1.32.amzn1.x86_64
php70-tidy-7.0.33-1.32.amzn1.x86_64
php70-json-7.0.33-1.32.amzn1.x86_64
php70-mcrypt-7.0.33-1.32.amzn1.x86_64
php56-dbg-5.6.39-1.141.amzn1.x86_64
php56-mssql-5.6.39-1.141.amzn1.x86_64
php56-tidy-5.6.39-1.141.amzn1.x86_64
php56-intl-5.6.39-1.141.amzn1.x86_64
php56-dba-5.6.39-1.141.amzn1.x86_64
php56-pdo-5.6.39-1.141.amzn1.x86_64
php56-cli-5.6.39-1.141.amzn1.x86_64
php56-common-5.6.39-1.141.amzn1.x86_64
php56-embedded-5.6.39-1.141.amzn1.x86_64
php56-ldap-5.6.39-1.141.amzn1.x86_64
php56-pspell-5.6.39-1.141.amzn1.x86_64
php56-5.6.39-1.141.amzn1.x86_64
php56-fpm-5.6.39-1.141.amzn1.x86_64
php56-debuginfo-5.6.39-1.141.amzn1.x86_64
php56-mysqlnd-5.6.39-1.141.amzn1.x86_64
php56-gmp-5.6.39-1.141.amzn1.x86_64
php56-xml-5.6.39-1.141.amzn1.x86_64
php56-pgsql-5.6.39-1.141.amzn1.x86_64
php56-bcmath-5.6.39-1.141.amzn1.x86_64
php56-gd-5.6.39-1.141.amzn1.x86_64
php56-opcache-5.6.39-1.141.amzn1.x86_64
php56-devel-5.6.39-1.141.amzn1.x86_64
php56-xmlrpc-5.6.39-1.141.amzn1.x86_64
php56-recode-5.6.39-1.141.amzn1.x86_64
php56-process-5.6.39-1.141.amzn1.x86_64
php56-mbstring-5.6.39-1.141.amzn1.x86_64
php56-enchant-5.6.39-1.141.amzn1.x86_64
php56-imap-5.6.39-1.141.amzn1.x86_64
php56-soap-5.6.39-1.141.amzn1.x86_64
php56-mcrypt-5.6.39-1.141.amzn1.x86_64
php56-odbc-5.6.39-1.141.amzn1.x86_64
php56-snmp-5.6.39-1.141.amzn1.x86_64
php71-bcmath-7.1.25-1.35.amzn1.x86_64
php71-snmp-7.1.25-1.35.amzn1.x86_64
php71-pspell-7.1.25-1.35.amzn1.x86_64
php71-mbstring-7.1.25-1.35.amzn1.x86_64
php71-pdo-dblib-7.1.25-1.35.amzn1.x86_64
php71-mysqlnd-7.1.25-1.35.amzn1.x86_64
php71-embedded-7.1.25-1.35.amzn1.x86_64
php71-7.1.25-1.35.amzn1.x86_64
php71-debuginfo-7.1.25-1.35.amzn1.x86_64
php71-cli-7.1.25-1.35.amzn1.x86_64
php71-devel-7.1.25-1.35.amzn1.x86_64
php71-dbg-7.1.25-1.35.amzn1.x86_64
php71-common-7.1.25-1.35.amzn1.x86_64
php71-odbc-7.1.25-1.35.amzn1.x86_64
php71-soap-7.1.25-1.35.amzn1.x86_64
php71-xmlrpc-7.1.25-1.35.amzn1.x86_64
php71-xml-7.1.25-1.35.amzn1.x86_64
php71-tidy-7.1.25-1.35.amzn1.x86_64
php71-json-7.1.25-1.35.amzn1.x86_64
php71-imap-7.1.25-1.35.amzn1.x86_64
php71-intl-7.1.25-1.35.amzn1.x86_64
php71-gmp-7.1.25-1.35.amzn1.x86_64
php71-fpm-7.1.25-1.35.amzn1.x86_64
php71-recode-7.1.25-1.35.amzn1.x86_64
php71-opcache-7.1.25-1.35.amzn1.x86_64
php71-mcrypt-7.1.25-1.35.amzn1.x86_64
php71-dba-7.1.25-1.35.amzn1.x86_64
php71-pgsql-7.1.25-1.35.amzn1.x86_64
php71-pdo-7.1.25-1.35.amzn1.x86_64
php71-process-7.1.25-1.35.amzn1.x86_64
php71-enchant-7.1.25-1.35.amzn1.x86_64
php71-ldap-7.1.25-1.35.amzn1.x86_64
php71-gd-7.1.25-1.35.amzn1.x86_64
php72-dba-7.2.13-1.7.amzn1.x86_64
php72-cli-7.2.13-1.7.amzn1.x86_64
php72-debuginfo-7.2.13-1.7.amzn1.x86_64
php72-odbc-7.2.13-1.7.amzn1.x86_64
php72-xml-7.2.13-1.7.amzn1.x86_64
php72-gd-7.2.13-1.7.amzn1.x86_64
php72-devel-7.2.13-1.7.amzn1.x86_64
php72-snmp-7.2.13-1.7.amzn1.x86_64
php72-pdo-dblib-7.2.13-1.7.amzn1.x86_64
php72-7.2.13-1.7.amzn1.x86_64
php72-mbstring-7.2.13-1.7.amzn1.x86_64
php72-soap-7.2.13-1.7.amzn1.x86_64
php72-dbg-7.2.13-1.7.amzn1.x86_64
php72-mysqlnd-7.2.13-1.7.amzn1.x86_64
php72-recode-7.2.13-1.7.amzn1.x86_64
php72-pdo-7.2.13-1.7.amzn1.x86_64
php72-fpm-7.2.13-1.7.amzn1.x86_64
php72-opcache-7.2.13-1.7.amzn1.x86_64
php72-tidy-7.2.13-1.7.amzn1.x86_64
php72-json-7.2.13-1.7.amzn1.x86_64
php72-ldap-7.2.13-1.7.amzn1.x86_64
php72-pgsql-7.2.13-1.7.amzn1.x86_64
php72-pspell-7.2.13-1.7.amzn1.x86_64
php72-bcmath-7.2.13-1.7.amzn1.x86_64
php72-imap-7.2.13-1.7.amzn1.x86_64
php72-intl-7.2.13-1.7.amzn1.x86_64
php72-common-7.2.13-1.7.amzn1.x86_64
php72-gmp-7.2.13-1.7.amzn1.x86_64
php72-xmlrpc-7.2.13-1.7.amzn1.x86_64
php72-embedded-7.2.13-1.7.amzn1.x86_64
php72-process-7.2.13-1.7.amzn1.x86_64
php72-enchant-7.2.13-1.7.amzn1.x86_64