CVE-2017-9229NULL Pointer Dereference in Ruby

Severity
7.5HIGHNVD
EPSS
0.6%
top 30.70%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 24
Latest updateMay 14

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 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDruby-lang/ruby2.4.1
NVDphp/php5.6.05.6.31+3

Patches

🔴Vulnerability Details

3
GHSA
GHSA-28pc-jv2f-hv8j: An issue was discovered in Oniguruma 62022-05-14
CVEList
CVE-2017-9229: An issue was discovered in Oniguruma 62017-05-24
OSV
CVE-2017-9229: An issue was discovered in Oniguruma 62017-05-24

📋Vendor Advisories

4
Ubuntu
PHP vulnerabilities2017-12-18
Ubuntu
PHP vulnerabilities2017-08-10
Red Hat
oniguruma: Invalid pointer dereference in left_adjust_char_head()2017-05-23
Debian
CVE-2017-9229: libonig - An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby thr...2017

💬Community

5
Bugzilla
CVE-2017-9224 CVE-2017-9225 CVE-2017-9226 CVE-2017-9227 CVE-2017-9228 CVE-2017-9229 oniguruma: various flaws [fedora-all]2017-06-30
Bugzilla
CVE-2017-9224 CVE-2017-9225 CVE-2017-9226 CVE-2017-9227 CVE-2017-9228 CVE-2017-9229 php: various flaws [fedora-all]2017-06-30
Bugzilla
CVE-2017-9229 oniguruma: Invalid pointer dereference in left_adjust_char_head()2017-06-30
Bugzilla
CVE-2017-9224 CVE-2017-9225 CVE-2017-9226 CVE-2017-9227 CVE-2017-9228 CVE-2017-9229 oniguruma: various flaws [epel-7]2017-06-30
Bugzilla
CVE-2017-9224 CVE-2017-9225 CVE-2017-9226 CVE-2017-9227 CVE-2017-9228 CVE-2017-9229 ruby: various flaws [fedora-all]2017-06-30
CVE-2017-9229 — NULL Pointer Dereference in Ruby | cvebase