7.5high
CVE-2017-9229
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
CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
5.1%
percentile 92%
Public exploits
0
none known
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 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.
Exploit prediction (EPSS)
5.13% probability of exploitation in the next 30 days, higher than 92% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
- CWE-476 NULL Pointer Dereference
- Technology feeds
- PHP (RSS, critical only)
References
- github.com /kkos/oniguruma/commit/b690371bbf97794b4a1d3f295d4fb9a8b05d402d · x_refsource_CONFIRM, x_transferred
- access.redhat.com /errata/RHSA-2018:1296 · vendor-advisory, x_refsource_REDHAT, x_transferred
- github.com /kkos/oniguruma/issues/59 · x_refsource_CONFIRM, x_transferred
Sources
- CVE List: CVE-2017-9229
- NVD: CVE-2017-9229
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.