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 stack out-of-bounds read occurs in match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in an out-of-bounds read from a stack buffer.
The product reads data past the end, or before the beginning, of the intended buffer.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Oniguruma | Oniguruma_project | 6.2.0 (including) | 6.2.0 (including) |
Red Hat Software Collections for Red Hat Enterprise Linux 6 | RedHat | rh-php70-php-0:7.0.27-1.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | RedHat | rh-php70-php-0:7.0.27-1.el6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-php70-php-0:7.0.27-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | RedHat | rh-php70-php-0:7.0.27-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | RedHat | rh-php70-php-0:7.0.27-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | rh-php70-php-0:7.0.27-1.el7 | * |
Libonig | Ubuntu | artful | * |
Libonig | Ubuntu | bionic | * |
Libonig | Ubuntu | devel | * |
Libonig | Ubuntu | trusty | * |
Libonig | Ubuntu | xenial | * |
Libonig | Ubuntu | yakkety | * |
Libonig | Ubuntu | zesty | * |
Php5 | Ubuntu | trusty | * |
Php7.0 | Ubuntu | xenial | * |
Php7.0 | Ubuntu | zesty | * |
Php7.1 | Ubuntu | artful | * |