CVE-2017-9228in critical feed
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.
Published 9 y ago · modified 4 mo ago · JSON
Summary
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.
Exploit prediction (EPSS)
6.26% probability of exploitation in the next 30 days, higher than 94% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
- CWE-787 Out-of-bounds Write
- Technology feeds
- PHP (RSS, critical only)
References
- github.com /kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b · x_refsource_CONFIRM, x_transferred
- access.redhat.com /errata/RHSA-2018:1296 · vendor-advisory, x_refsource_REDHAT, x_transferred
- github.com /kkos/oniguruma/issues/60 · x_refsource_CONFIRM, x_transferred
Sources
- CVE List: CVE-2017-9228
- NVD: CVE-2017-9228
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.