PublicDateAtUSN: 2017-05-24 Candidate: CVE-2017-9229 PublicDate: 2017-05-24 15:29:00 UTC References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9229 https://ubuntu.com/security/notices/USN-3382-1 https://ubuntu.com/security/notices/USN-3382-2 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 SIGSEGV occurs in left_adjust_char_head() during regular expression compilation. Invalid handling of reg->dmax in forward_search_range() could result in an invalid pointer dereference, normally as an immediate denial-of-service condition. Ubuntu-Description: It was discovered that Oniguruma incorrectly handled certain regular expressions. An attacker could possibly use this issue to obtain sensitive information, cause a denial of service or execute arbitrary code. Notes: Bugs: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863318 https://github.com/kkos/oniguruma/issues/59 Priority: medium Discovered-by: Assigned-to: CVSS: nvd: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H [7.5 HIGH] Patches_libonig: upstream: https://github.com/kkos/oniguruma/commit/b690371bbf97794b4a1d3f295d4fb9a8b05d402d upstream_libonig: needs-triage precise/esm_libonig: DNE trusty_libonig: released (5.9.1-1ubuntu1.1) trusty/esm_libonig: released (5.9.1-1ubuntu1.1) vivid/stable-phone-overlay_libonig: DNE vivid/ubuntu-core_libonig: DNE xenial_libonig: released (5.9.6-1ubuntu0.1) yakkety_libonig: ignored (reached end-of-life) zesty_libonig: ignored (reached end-of-life) artful_libonig: ignored (reached end-of-life) bionic_libonig: released (6.3.0-1) devel_libonig: released (6.3.0-1) Patches_php5: upstream: https://github.com/php/php-src/commit/27a743b82b0b8d7e8e8154f3cc402204fea0ebd3 upstream_php5: needs-triage precise/esm_php5: released (5.3.10-1ubuntu3.28) trusty_php5: released (5.5.9+dfsg-1ubuntu4.22) trusty/esm_php5: released (5.5.9+dfsg-1ubuntu4.22) vivid/ubuntu-core_php5: DNE xenial_php5: DNE zesty_php5: DNE artful_php5: DNE bionic_php5: DNE devel_php5: DNE Patches_php7.0: upstream: https://github.com/php/php-src/commit/5416deec665db293ae25548828791453d776a6bf upstream_php7.0: needs-triage precise/esm_php7.0: DNE trusty_php7.0: DNE trusty/esm_php7.0: DNE vivid/ubuntu-core_php7.0: DNE xenial_php7.0: released (7.0.22-0ubuntu0.16.04.1) esm-infra/xenial_php7.0: released (7.0.22-0ubuntu0.16.04.1) zesty_php7.0: released (7.0.22-0ubuntu0.17.04.1) artful_php7.0: DNE bionic_php7.0: DNE devel_php7.0: DNE Patches_php7.1: upstream: https://github.com/php/php-src/commit/5416deec665db293ae25548828791453d776a6bf upstream_php7.1: needs-triage precise/esm_php7.1: DNE trusty_php7.1: DNE trusty/esm_php7.1: DNE vivid/ubuntu-core_php7.1: DNE xenial_php7.1: DNE zesty_php7.1: DNE artful_php7.1: released (7.1.8-1ubuntu1) bionic_php7.1: DNE devel_php7.1: DNE