Upstream information

CVE-2017-9226 at MITRE

Description

An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7.1.5. A heap out-of-bounds write or read occurs in next_state_val() during regular expression compilation. Octal numbers larger than 0xff are not handled correctly in fetch_token() and fetch_token_in_cc(). A malformed regular expression containing an octal number in the form of '\700' would produce an invalid code point value larger than 0xff in next_state_val(), resulting in an out-of-bounds write memory corruption.

SUSE information

CVSS v2 Scores
  National Vulnerability Database SUSE
Base Score 7.48 4.64
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P AV:L/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network Local
Access Complexity Low Low
Authentication None None
Confidentiality Impact Partial Partial
Integrity Impact Partial Partial
Availability Impact Partial Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 9.8 7.8
Vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Access Vector Network Local
Access Complexity Low Low
Privileges Required None Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High

This issue is currently rated as having moderate severity.

SUSE Bugzilla entries: 1040889 [NEW], 1044976 [RESOLVED / ]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Module for Web Scripting 12
  • apache2-mod_php5 >= 5.5.14-108.1
  • php5 >= 5.5.14-108.1
  • php5-bcmath >= 5.5.14-108.1
  • php5-bz2 >= 5.5.14-108.1
  • php5-calendar >= 5.5.14-108.1
  • php5-ctype >= 5.5.14-108.1
  • php5-curl >= 5.5.14-108.1
  • php5-dba >= 5.5.14-108.1
  • php5-dom >= 5.5.14-108.1
  • php5-enchant >= 5.5.14-108.1
  • php5-exif >= 5.5.14-108.1
  • php5-fastcgi >= 5.5.14-108.1
  • php5-fileinfo >= 5.5.14-108.1
  • php5-fpm >= 5.5.14-108.1
  • php5-ftp >= 5.5.14-108.1
  • php5-gd >= 5.5.14-108.1
  • php5-gettext >= 5.5.14-108.1
  • php5-gmp >= 5.5.14-108.1
  • php5-iconv >= 5.5.14-108.1
  • php5-imap >= 5.5.14-108.1
  • php5-intl >= 5.5.14-108.1
  • php5-json >= 5.5.14-108.1
  • php5-ldap >= 5.5.14-108.1
  • php5-mbstring >= 5.5.14-108.1
  • php5-mcrypt >= 5.5.14-108.1
  • php5-mysql >= 5.5.14-108.1
  • php5-odbc >= 5.5.14-108.1
  • php5-opcache >= 5.5.14-108.1
  • php5-openssl >= 5.5.14-108.1
  • php5-pcntl >= 5.5.14-108.1
  • php5-pdo >= 5.5.14-108.1
  • php5-pear >= 5.5.14-108.1
  • php5-pgsql >= 5.5.14-108.1
  • php5-phar >= 5.5.14-108.1
  • php5-posix >= 5.5.14-108.1
  • php5-pspell >= 5.5.14-108.1
  • php5-shmop >= 5.5.14-108.1
  • php5-snmp >= 5.5.14-108.1
  • php5-soap >= 5.5.14-108.1
  • php5-sockets >= 5.5.14-108.1
  • php5-sqlite >= 5.5.14-108.1
  • php5-suhosin >= 5.5.14-108.1
  • php5-sysvmsg >= 5.5.14-108.1
  • php5-sysvsem >= 5.5.14-108.1
  • php5-sysvshm >= 5.5.14-108.1
  • php5-tokenizer >= 5.5.14-108.1
  • php5-wddx >= 5.5.14-108.1
  • php5-xmlreader >= 5.5.14-108.1
  • php5-xmlrpc >= 5.5.14-108.1
  • php5-xmlwriter >= 5.5.14-108.1
  • php5-xsl >= 5.5.14-108.1
  • php5-zip >= 5.5.14-108.1
  • php5-zlib >= 5.5.14-108.1
Patchnames:
SUSE-SLE-Module-Web-Scripting-12-2017-1030
SUSE Linux Enterprise Server 11 SP4
  • apache2-mod_php53 >= 5.3.17-108.1
  • php53 >= 5.3.17-108.1
  • php53-bcmath >= 5.3.17-108.1
  • php53-bz2 >= 5.3.17-108.1
  • php53-calendar >= 5.3.17-108.1
  • php53-ctype >= 5.3.17-108.1
  • php53-curl >= 5.3.17-108.1
  • php53-dba >= 5.3.17-108.1
  • php53-dom >= 5.3.17-108.1
  • php53-exif >= 5.3.17-108.1
  • php53-fastcgi >= 5.3.17-108.1
  • php53-fileinfo >= 5.3.17-108.1
  • php53-ftp >= 5.3.17-108.1
  • php53-gd >= 5.3.17-108.1
  • php53-gettext >= 5.3.17-108.1
  • php53-gmp >= 5.3.17-108.1
  • php53-iconv >= 5.3.17-108.1
  • php53-intl >= 5.3.17-108.1
  • php53-json >= 5.3.17-108.1
  • php53-ldap >= 5.3.17-108.1
  • php53-mbstring >= 5.3.17-108.1
  • php53-mcrypt >= 5.3.17-108.1
  • php53-mysql >= 5.3.17-108.1
  • php53-odbc >= 5.3.17-108.1
  • php53-openssl >= 5.3.17-108.1
  • php53-pcntl >= 5.3.17-108.1
  • php53-pdo >= 5.3.17-108.1
  • php53-pear >= 5.3.17-108.1
  • php53-pgsql >= 5.3.17-108.1
  • php53-pspell >= 5.3.17-108.1
  • php53-shmop >= 5.3.17-108.1
  • php53-snmp >= 5.3.17-108.1
  • php53-soap >= 5.3.17-108.1
  • php53-suhosin >= 5.3.17-108.1
  • php53-sysvmsg >= 5.3.17-108.1
  • php53-sysvsem >= 5.3.17-108.1
  • php53-sysvshm >= 5.3.17-108.1
  • php53-tokenizer >= 5.3.17-108.1
  • php53-wddx >= 5.3.17-108.1
  • php53-xmlreader >= 5.3.17-108.1
  • php53-xmlrpc >= 5.3.17-108.1
  • php53-xmlwriter >= 5.3.17-108.1
  • php53-xsl >= 5.3.17-108.1
  • php53-zip >= 5.3.17-108.1
  • php53-zlib >= 5.3.17-108.1
Patchnames:
slessp4-php53-13151
SUSE Linux Enterprise Software Development Kit 11 SP4
  • php53 >= 5.3.17-108.1
  • php53-devel >= 5.3.17-108.1
  • php53-imap >= 5.3.17-108.1
  • php53-posix >= 5.3.17-108.1
  • php53-readline >= 5.3.17-108.1
  • php53-sockets >= 5.3.17-108.1
  • php53-sqlite >= 5.3.17-108.1
  • php53-tidy >= 5.3.17-108.1
Patchnames:
sdksp4-php53-13151
SUSE Linux Enterprise Software Development Kit 12 SP2
  • php5 >= 5.5.14-108.1
  • php5-devel >= 5.5.14-108.1
Patchnames:
SUSE-SLE-SDK-12-SP2-2017-1030

List of packages in QA

Product(s) Package(s)
SUSE Linux Enterprise Module for Web Scripting 12
  • apache2-mod_php7 >= 7.0.7-49.1
  • apache2-mod_php7-debuginfo >= 7.0.7-49.1
  • php7 >= 7.0.7-49.1
  • php7-bcmath >= 7.0.7-49.1
  • php7-bcmath-debuginfo >= 7.0.7-49.1
  • php7-bz2 >= 7.0.7-49.1
  • php7-bz2-debuginfo >= 7.0.7-49.1
  • php7-calendar >= 7.0.7-49.1
  • php7-calendar-debuginfo >= 7.0.7-49.1
  • php7-ctype >= 7.0.7-49.1
  • php7-ctype-debuginfo >= 7.0.7-49.1
  • php7-curl >= 7.0.7-49.1
  • php7-curl-debuginfo >= 7.0.7-49.1
  • php7-dba >= 7.0.7-49.1
  • php7-dba-debuginfo >= 7.0.7-49.1
  • php7-debuginfo >= 7.0.7-49.1
  • php7-debugsource >= 7.0.7-49.1
  • php7-dom >= 7.0.7-49.1
  • php7-dom-debuginfo >= 7.0.7-49.1
  • php7-enchant >= 7.0.7-49.1
  • php7-enchant-debuginfo >= 7.0.7-49.1
  • php7-exif >= 7.0.7-49.1
  • php7-exif-debuginfo >= 7.0.7-49.1
  • php7-fastcgi >= 7.0.7-49.1
  • php7-fastcgi-debuginfo >= 7.0.7-49.1
  • php7-fileinfo >= 7.0.7-49.1
  • php7-fileinfo-debuginfo >= 7.0.7-49.1
  • php7-fpm >= 7.0.7-49.1
  • php7-fpm-debuginfo >= 7.0.7-49.1
  • php7-ftp >= 7.0.7-49.1
  • php7-ftp-debuginfo >= 7.0.7-49.1
  • php7-gd >= 7.0.7-49.1
  • php7-gd-debuginfo >= 7.0.7-49.1
  • php7-gettext >= 7.0.7-49.1
  • php7-gettext-debuginfo >= 7.0.7-49.1
  • php7-gmp >= 7.0.7-49.1
  • php7-gmp-debuginfo >= 7.0.7-49.1
  • php7-iconv >= 7.0.7-49.1
  • php7-iconv-debuginfo >= 7.0.7-49.1
  • php7-imap >= 7.0.7-49.1
  • php7-imap-debuginfo >= 7.0.7-49.1
  • php7-intl >= 7.0.7-49.1
  • php7-intl-debuginfo >= 7.0.7-49.1
  • php7-json >= 7.0.7-49.1
  • php7-json-debuginfo >= 7.0.7-49.1
  • php7-ldap >= 7.0.7-49.1
  • php7-ldap-debuginfo >= 7.0.7-49.1
  • php7-mbstring >= 7.0.7-49.1
  • php7-mbstring-debuginfo >= 7.0.7-49.1
  • php7-mcrypt >= 7.0.7-49.1
  • php7-mcrypt-debuginfo >= 7.0.7-49.1
  • php7-mysql >= 7.0.7-49.1
  • php7-mysql-debuginfo >= 7.0.7-49.1
  • php7-odbc >= 7.0.7-49.1
  • php7-odbc-debuginfo >= 7.0.7-49.1
  • php7-opcache >= 7.0.7-49.1
  • php7-opcache-debuginfo >= 7.0.7-49.1
  • php7-openssl >= 7.0.7-49.1
  • php7-openssl-debuginfo >= 7.0.7-49.1
  • php7-pcntl >= 7.0.7-49.1
  • php7-pcntl-debuginfo >= 7.0.7-49.1
  • php7-pdo >= 7.0.7-49.1
  • php7-pdo-debuginfo >= 7.0.7-49.1
  • php7-pear >= 7.0.7-49.1
  • php7-pear-Archive_Tar >= 7.0.7-49.1
  • php7-pgsql >= 7.0.7-49.1
  • php7-pgsql-debuginfo >= 7.0.7-49.1
  • php7-phar >= 7.0.7-49.1
  • php7-phar-debuginfo >= 7.0.7-49.1
  • php7-posix >= 7.0.7-49.1
  • php7-posix-debuginfo >= 7.0.7-49.1
  • php7-pspell >= 7.0.7-49.1
  • php7-pspell-debuginfo >= 7.0.7-49.1
  • php7-shmop >= 7.0.7-49.1
  • php7-shmop-debuginfo >= 7.0.7-49.1
  • php7-snmp >= 7.0.7-49.1
  • php7-snmp-debuginfo >= 7.0.7-49.1
  • php7-soap >= 7.0.7-49.1
  • php7-soap-debuginfo >= 7.0.7-49.1
  • php7-sockets >= 7.0.7-49.1
  • php7-sockets-debuginfo >= 7.0.7-49.1
  • php7-sqlite >= 7.0.7-49.1
  • php7-sqlite-debuginfo >= 7.0.7-49.1
  • php7-sysvmsg >= 7.0.7-49.1
  • php7-sysvmsg-debuginfo >= 7.0.7-49.1
  • php7-sysvsem >= 7.0.7-49.1
  • php7-sysvsem-debuginfo >= 7.0.7-49.1
  • php7-sysvshm >= 7.0.7-49.1
  • php7-sysvshm-debuginfo >= 7.0.7-49.1
  • php7-tokenizer >= 7.0.7-49.1
  • php7-tokenizer-debuginfo >= 7.0.7-49.1
  • php7-wddx >= 7.0.7-49.1
  • php7-wddx-debuginfo >= 7.0.7-49.1
  • php7-xmlreader >= 7.0.7-49.1
  • php7-xmlreader-debuginfo >= 7.0.7-49.1
  • php7-xmlrpc >= 7.0.7-49.1
  • php7-xmlrpc-debuginfo >= 7.0.7-49.1
  • php7-xmlwriter >= 7.0.7-49.1
  • php7-xmlwriter-debuginfo >= 7.0.7-49.1
  • php7-xsl >= 7.0.7-49.1
  • php7-xsl-debuginfo >= 7.0.7-49.1
  • php7-zip >= 7.0.7-49.1
  • php7-zip-debuginfo >= 7.0.7-49.1
  • php7-zlib >= 7.0.7-49.1
  • php7-zlib-debuginfo >= 7.0.7-49.1
SUSE Linux Enterprise Software Development Kit 12 SP2
  • php7 >= 7.0.7-49.1
  • php7-debuginfo >= 7.0.7-49.1
  • php7-debugsource >= 7.0.7-49.1
  • php7-devel >= 7.0.7-49.1