National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-9228 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 heap out-of-bounds write occurs in bitset_set_range() during regular expression compilation due to an uninitialized variable from an incorrect state transition. An incorrect state transition in parse_char_class() could create an execution path that leaves a critical local variable uninitialized until it's used as an index, resulting in an out-of-bounds write memory corruption.

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
https://access.redhat.com/errata/RHSA-2018:1296
https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b Patch Third Party Advisory
https://github.com/kkos/oniguruma/issues/60 Exploit Third Party Advisory

Weakness Enumeration

CWE-ID CWE Name Source
CWE-787 Out-of-bounds Write 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

2 change records found - show changes

Quick Info

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