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 wri...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTSlibonig |
< 5.9.1-1ubuntu1.1→ 5.9.1-1ubuntu1.1 |
5.9.1-1ubuntu1.1 |
| Ubuntu:14.04:LTSphp5 |
< 5.5.9+dfsg-1ubuntu4.22→ 5.5.9+dfsg-1ubuntu4.22 |
5.5.9+dfsg-1ubuntu4.22 |
| Ubuntu:16.04:LTSlibonig |
< 5.9.6-1ubuntu0.1→ 5.9.6-1ubuntu0.1 |
5.9.6-1ubuntu0.1 |
| Ubuntu:16.04:LTSphp7.0 |
< 7.0.22-0ubuntu0.16.04.1→ 7.0.22-0ubuntu0.16.04.1 |
7.0.22-0ubuntu0.16.04.1 |
Original description The description as published by the source.
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 occurs in bitset_set_range() during regular expression compilation due to an uninitialized variable from an incorrect state transition. An incorrect state transition in parse_char_class() could create an execution path that leaves a critical local variable uninitialized until it's used as an index, resulting in an out-of-bounds write memory corruption.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org