ALAS-2017-924

Related Vulnerabilities: CVE-2016-1283  

pcre: heap buffer overflow in handling of duplicate named groups (8.39/14)The pcre_compile2 function in pcre_compile.c mishandles the /((?:F?+(?:^(?(R)a+\\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\\){97)?J)?J)(?'R'(?'R'\\){99|(:(?|(?'R')(\\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror. (CVE-2016-1283)

ALAS-2017-924


Amazon Linux AMI Security Advisory: ALAS-2017-924
Advisory Release Date: 2017-11-15 20:05 Pacific
Advisory Updated Date: 2017-11-20 21:40 Pacific
Severity: Important
References: CVE-2016-1283 

Issue Overview:

pcre: heap buffer overflow in handling of duplicate named groups (8.39/14)
The pcre_compile2 function in pcre_compile.c mishandles the /((?:F?+(?:^(?(R)a+\\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\\){97)?J)?J)(?'R'(?'R'\\){99|(:(?|(?'R')(\\k'R')|((?'R')))H'R'R)(H'R))))))/ pattern and related patterns with named subgroups, which allows remote attackers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror. (CVE-2016-1283)


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:
    php56-mbstring-5.6.32-1.135.amzn1.i686
    php56-snmp-5.6.32-1.135.amzn1.i686
    php56-opcache-5.6.32-1.135.amzn1.i686
    php56-debuginfo-5.6.32-1.135.amzn1.i686
    php56-fpm-5.6.32-1.135.amzn1.i686
    php56-common-5.6.32-1.135.amzn1.i686
    php56-odbc-5.6.32-1.135.amzn1.i686
    php56-mssql-5.6.32-1.135.amzn1.i686
    php56-embedded-5.6.32-1.135.amzn1.i686
    php56-process-5.6.32-1.135.amzn1.i686
    php56-xmlrpc-5.6.32-1.135.amzn1.i686
    php56-bcmath-5.6.32-1.135.amzn1.i686
    php56-pgsql-5.6.32-1.135.amzn1.i686
    php56-pspell-5.6.32-1.135.amzn1.i686
    php56-dba-5.6.32-1.135.amzn1.i686
    php56-mysqlnd-5.6.32-1.135.amzn1.i686
    php56-recode-5.6.32-1.135.amzn1.i686
    php56-ldap-5.6.32-1.135.amzn1.i686
    php56-cli-5.6.32-1.135.amzn1.i686
    php56-intl-5.6.32-1.135.amzn1.i686
    php56-xml-5.6.32-1.135.amzn1.i686
    php56-pdo-5.6.32-1.135.amzn1.i686
    php56-dbg-5.6.32-1.135.amzn1.i686
    php56-imap-5.6.32-1.135.amzn1.i686
    php56-soap-5.6.32-1.135.amzn1.i686
    php56-gmp-5.6.32-1.135.amzn1.i686
    php56-mcrypt-5.6.32-1.135.amzn1.i686
    php56-gd-5.6.32-1.135.amzn1.i686
    php56-enchant-5.6.32-1.135.amzn1.i686
    php56-tidy-5.6.32-1.135.amzn1.i686
    php56-5.6.32-1.135.amzn1.i686
    php56-devel-5.6.32-1.135.amzn1.i686
    php71-xmlrpc-7.1.11-1.28.amzn1.i686
    php71-mysqlnd-7.1.11-1.28.amzn1.i686
    php71-gd-7.1.11-1.28.amzn1.i686
    php71-pspell-7.1.11-1.28.amzn1.i686
    php71-fpm-7.1.11-1.28.amzn1.i686
    php71-process-7.1.11-1.28.amzn1.i686
    php71-bcmath-7.1.11-1.28.amzn1.i686
    php71-odbc-7.1.11-1.28.amzn1.i686
    php71-pgsql-7.1.11-1.28.amzn1.i686
    php71-pdo-dblib-7.1.11-1.28.amzn1.i686
    php71-xml-7.1.11-1.28.amzn1.i686
    php71-opcache-7.1.11-1.28.amzn1.i686
    php71-embedded-7.1.11-1.28.amzn1.i686
    php71-json-7.1.11-1.28.amzn1.i686
    php71-dbg-7.1.11-1.28.amzn1.i686
    php71-intl-7.1.11-1.28.amzn1.i686
    php71-7.1.11-1.28.amzn1.i686
    php71-pdo-7.1.11-1.28.amzn1.i686
    php71-common-7.1.11-1.28.amzn1.i686
    php71-imap-7.1.11-1.28.amzn1.i686
    php71-tidy-7.1.11-1.28.amzn1.i686
    php71-snmp-7.1.11-1.28.amzn1.i686
    php71-cli-7.1.11-1.28.amzn1.i686
    php71-mcrypt-7.1.11-1.28.amzn1.i686
    php71-ldap-7.1.11-1.28.amzn1.i686
    php71-recode-7.1.11-1.28.amzn1.i686
    php71-gmp-7.1.11-1.28.amzn1.i686
    php71-soap-7.1.11-1.28.amzn1.i686
    php71-devel-7.1.11-1.28.amzn1.i686
    php71-enchant-7.1.11-1.28.amzn1.i686
    php71-dba-7.1.11-1.28.amzn1.i686
    php71-debuginfo-7.1.11-1.28.amzn1.i686
    php71-mbstring-7.1.11-1.28.amzn1.i686
    php70-opcache-7.0.25-1.25.amzn1.i686
    php70-json-7.0.25-1.25.amzn1.i686
    php70-xml-7.0.25-1.25.amzn1.i686
    php70-process-7.0.25-1.25.amzn1.i686
    php70-devel-7.0.25-1.25.amzn1.i686
    php70-recode-7.0.25-1.25.amzn1.i686
    php70-ldap-7.0.25-1.25.amzn1.i686
    php70-odbc-7.0.25-1.25.amzn1.i686
    php70-bcmath-7.0.25-1.25.amzn1.i686
    php70-zip-7.0.25-1.25.amzn1.i686
    php70-pspell-7.0.25-1.25.amzn1.i686
    php70-dba-7.0.25-1.25.amzn1.i686
    php70-intl-7.0.25-1.25.amzn1.i686
    php70-gmp-7.0.25-1.25.amzn1.i686
    php70-7.0.25-1.25.amzn1.i686
    php70-soap-7.0.25-1.25.amzn1.i686
    php70-dbg-7.0.25-1.25.amzn1.i686
    php70-xmlrpc-7.0.25-1.25.amzn1.i686
    php70-embedded-7.0.25-1.25.amzn1.i686
    php70-mbstring-7.0.25-1.25.amzn1.i686
    php70-pdo-dblib-7.0.25-1.25.amzn1.i686
    php70-mcrypt-7.0.25-1.25.amzn1.i686
    php70-cli-7.0.25-1.25.amzn1.i686
    php70-pgsql-7.0.25-1.25.amzn1.i686
    php70-fpm-7.0.25-1.25.amzn1.i686
    php70-mysqlnd-7.0.25-1.25.amzn1.i686
    php70-debuginfo-7.0.25-1.25.amzn1.i686
    php70-pdo-7.0.25-1.25.amzn1.i686
    php70-tidy-7.0.25-1.25.amzn1.i686
    php70-gd-7.0.25-1.25.amzn1.i686
    php70-enchant-7.0.25-1.25.amzn1.i686
    php70-snmp-7.0.25-1.25.amzn1.i686
    php70-common-7.0.25-1.25.amzn1.i686
    php70-imap-7.0.25-1.25.amzn1.i686

src:
    php56-5.6.32-1.135.amzn1.src
    php71-7.1.11-1.28.amzn1.src
    php70-7.0.25-1.25.amzn1.src

x86_64:
    php56-ldap-5.6.32-1.135.amzn1.x86_64
    php56-gmp-5.6.32-1.135.amzn1.x86_64
    php56-common-5.6.32-1.135.amzn1.x86_64
    php56-xml-5.6.32-1.135.amzn1.x86_64
    php56-5.6.32-1.135.amzn1.x86_64
    php56-snmp-5.6.32-1.135.amzn1.x86_64
    php56-pgsql-5.6.32-1.135.amzn1.x86_64
    php56-pspell-5.6.32-1.135.amzn1.x86_64
    php56-cli-5.6.32-1.135.amzn1.x86_64
    php56-fpm-5.6.32-1.135.amzn1.x86_64
    php56-process-5.6.32-1.135.amzn1.x86_64
    php56-mcrypt-5.6.32-1.135.amzn1.x86_64
    php56-opcache-5.6.32-1.135.amzn1.x86_64
    php56-enchant-5.6.32-1.135.amzn1.x86_64
    php56-mssql-5.6.32-1.135.amzn1.x86_64
    php56-dba-5.6.32-1.135.amzn1.x86_64
    php56-dbg-5.6.32-1.135.amzn1.x86_64
    php56-gd-5.6.32-1.135.amzn1.x86_64
    php56-embedded-5.6.32-1.135.amzn1.x86_64
    php56-recode-5.6.32-1.135.amzn1.x86_64
    php56-tidy-5.6.32-1.135.amzn1.x86_64
    php56-mbstring-5.6.32-1.135.amzn1.x86_64
    php56-pdo-5.6.32-1.135.amzn1.x86_64
    php56-xmlrpc-5.6.32-1.135.amzn1.x86_64
    php56-devel-5.6.32-1.135.amzn1.x86_64
    php56-intl-5.6.32-1.135.amzn1.x86_64
    php56-bcmath-5.6.32-1.135.amzn1.x86_64
    php56-debuginfo-5.6.32-1.135.amzn1.x86_64
    php56-soap-5.6.32-1.135.amzn1.x86_64
    php56-mysqlnd-5.6.32-1.135.amzn1.x86_64
    php56-imap-5.6.32-1.135.amzn1.x86_64
    php56-odbc-5.6.32-1.135.amzn1.x86_64
    php71-intl-7.1.11-1.28.amzn1.x86_64
    php71-snmp-7.1.11-1.28.amzn1.x86_64
    php71-enchant-7.1.11-1.28.amzn1.x86_64
    php71-embedded-7.1.11-1.28.amzn1.x86_64
    php71-gd-7.1.11-1.28.amzn1.x86_64
    php71-common-7.1.11-1.28.amzn1.x86_64
    php71-mbstring-7.1.11-1.28.amzn1.x86_64
    php71-pdo-dblib-7.1.11-1.28.amzn1.x86_64
    php71-soap-7.1.11-1.28.amzn1.x86_64
    php71-ldap-7.1.11-1.28.amzn1.x86_64
    php71-imap-7.1.11-1.28.amzn1.x86_64
    php71-dba-7.1.11-1.28.amzn1.x86_64
    php71-json-7.1.11-1.28.amzn1.x86_64
    php71-debuginfo-7.1.11-1.28.amzn1.x86_64
    php71-7.1.11-1.28.amzn1.x86_64
    php71-xmlrpc-7.1.11-1.28.amzn1.x86_64
    php71-gmp-7.1.11-1.28.amzn1.x86_64
    php71-recode-7.1.11-1.28.amzn1.x86_64
    php71-opcache-7.1.11-1.28.amzn1.x86_64
    php71-pspell-7.1.11-1.28.amzn1.x86_64
    php71-mcrypt-7.1.11-1.28.amzn1.x86_64
    php71-odbc-7.1.11-1.28.amzn1.x86_64
    php71-xml-7.1.11-1.28.amzn1.x86_64
    php71-fpm-7.1.11-1.28.amzn1.x86_64
    php71-dbg-7.1.11-1.28.amzn1.x86_64
    php71-process-7.1.11-1.28.amzn1.x86_64
    php71-pgsql-7.1.11-1.28.amzn1.x86_64
    php71-cli-7.1.11-1.28.amzn1.x86_64
    php71-devel-7.1.11-1.28.amzn1.x86_64
    php71-bcmath-7.1.11-1.28.amzn1.x86_64
    php71-tidy-7.1.11-1.28.amzn1.x86_64
    php71-mysqlnd-7.1.11-1.28.amzn1.x86_64
    php71-pdo-7.1.11-1.28.amzn1.x86_64
    php70-devel-7.0.25-1.25.amzn1.x86_64
    php70-dba-7.0.25-1.25.amzn1.x86_64
    php70-pgsql-7.0.25-1.25.amzn1.x86_64
    php70-pdo-dblib-7.0.25-1.25.amzn1.x86_64
    php70-zip-7.0.25-1.25.amzn1.x86_64
    php70-tidy-7.0.25-1.25.amzn1.x86_64
    php70-opcache-7.0.25-1.25.amzn1.x86_64
    php70-xml-7.0.25-1.25.amzn1.x86_64
    php70-7.0.25-1.25.amzn1.x86_64
    php70-dbg-7.0.25-1.25.amzn1.x86_64
    php70-mcrypt-7.0.25-1.25.amzn1.x86_64
    php70-enchant-7.0.25-1.25.amzn1.x86_64
    php70-odbc-7.0.25-1.25.amzn1.x86_64
    php70-xmlrpc-7.0.25-1.25.amzn1.x86_64
    php70-common-7.0.25-1.25.amzn1.x86_64
    php70-gd-7.0.25-1.25.amzn1.x86_64
    php70-gmp-7.0.25-1.25.amzn1.x86_64
    php70-intl-7.0.25-1.25.amzn1.x86_64
    php70-pspell-7.0.25-1.25.amzn1.x86_64
    php70-mbstring-7.0.25-1.25.amzn1.x86_64
    php70-fpm-7.0.25-1.25.amzn1.x86_64
    php70-imap-7.0.25-1.25.amzn1.x86_64
    php70-mysqlnd-7.0.25-1.25.amzn1.x86_64
    php70-ldap-7.0.25-1.25.amzn1.x86_64
    php70-snmp-7.0.25-1.25.amzn1.x86_64
    php70-json-7.0.25-1.25.amzn1.x86_64
    php70-cli-7.0.25-1.25.amzn1.x86_64
    php70-soap-7.0.25-1.25.amzn1.x86_64
    php70-pdo-7.0.25-1.25.amzn1.x86_64
    php70-process-7.0.25-1.25.amzn1.x86_64
    php70-bcmath-7.0.25-1.25.amzn1.x86_64
    php70-debuginfo-7.0.25-1.25.amzn1.x86_64
    php70-recode-7.0.25-1.25.amzn1.x86_64
    php70-embedded-7.0.25-1.25.amzn1.x86_64