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.
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.
Package
| Upstream: | needs-triage
|
| Ubuntu 18.04 LTS: | released
(6.3.0-1)
|
| Ubuntu 14.04 ESM: | released
(5.9.1-1ubuntu1.1)
|
Patches:
Package
| Upstream: | needs-triage
|
| Ubuntu 18.04 LTS: | DNE
|
| Ubuntu 14.04 ESM: | released
(5.5.9+dfsg-1ubuntu4.22)
|
Patches:
Package
| Upstream: | needs-triage
|
| Ubuntu 18.04 LTS: | DNE
|
| Ubuntu 16.04 ESM: | released
(7.0.22-0ubuntu0.16.04.1)
|
| Ubuntu 14.04 ESM: | DNE
|
Patches:
Package
| Upstream: | needs-triage
|
| Ubuntu 18.04 LTS: | DNE
|
| Ubuntu 14.04 ESM: | DNE
|
Patches:
Updated: 2022-04-13 13:05:28 UTC (commit f411bd370d482ef4385c4e751d121a4055fbc009)