CVE-2017-9227Out-of-bounds Read in Project Oniguruma

CWE-125Out-of-bounds Read14 documents9 sources
Severity
9.8CRITICALNVD
EPSS
0.5%
top 34.62%
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 stack out-of-bounds read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.

CVSS vector

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

Affected Packages2 packages

NVDphp/php5.6.05.6.31+2

Patches

🔴Vulnerability Details

3
GHSA
GHSA-vpg4-mfvr-xc5c: An issue was discovered in Oniguruma 62022-05-14
OSV
CVE-2017-9227: An issue was discovered in Oniguruma 62017-05-24
CVEList
CVE-2017-9227: 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: Out-of-bounds stack read in mbc_enc_len() during regular expression searching2017-05-23
Debian
CVE-2017-9227: 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-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-9227 oniguruma: Out-of-bounds stack read in mbc_enc_len() during regular expression searching2017-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-9227 — Out-of-bounds Read in Project Oniguruma | cvebase