National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-9227 Detail

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

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 9.8 CRITICAL
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/100538
https://access.redhat.com/errata/RHSA-2018:1296
https://github.com/kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814 Patch Third Party Advisory
https://github.com/kkos/oniguruma/issues/58 Exploit Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-125 Out-of-bounds Read NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:*
     Show Matching CPE(s)
Up to (including)
7.1.5
 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:*
     Show Matching CPE(s)
Up to (including)
2.4.1


Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-9227
NVD Published Date:
05/24/2017
NVD Last Modified:
05/03/2018