NULL pointer dereference in Oniguruma Project
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. 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.051 (92.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.051 · newest: 0.051 · change: 0.000
Affected products
- Oniguruma Project — versions 6.2.0
- PHP
- Ruby-Lang Ruby
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/kkos/oniguruma/commit/b690371bbf97794b4a1d3f295d4fb9a8b05d402d (Patch, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:1296 (vendor-advisory, Third Party Advisory)
- github.com/kkos/oniguruma/issues/59 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2017-9229?
- CVE-2017-9229 is a high-severity vulnerability in Oniguruma Project, classified under NULL Pointer Dereference. CVSS score: 7.5/10. Published 2017-05-24.
- How severe is CVE-2017-9229?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2017-9229 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.