Modified
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
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
Description Last Modified:
05/24/2017
View Analysis Description
Analysis 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
Description Last Modified:
05/24/2017
Impact
CVSS v3.0 Severity and Metrics:
Base Score:
9.8 CRITICAL
Vector:
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
(V3 legend)
Impact Score:
5.9
Exploitability Score:
3.9
Attack Vector (AV):
Network
Attack Complexity (AC):
Low
Privileges Required (PR):
None
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
High
Availability (A):
High
CVSS v2.0 Severity and Metrics:
Base Score:
7.5 HIGH
Vector:
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
(V2 legend)
Impact Subscore:
6.4
Exploitability Subscore:
10.0
Access Vector (AV):
Network
Access Complexity (AC):
Insufficient_Info
Authentication (AU):
None
Confidentiality (C):
Partial
Integrity (I):
Partial
Availability (A):
Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service
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.
Change History
2 change records found
- show changes
CVE Modified by MITRE -
5/3/2018 9:29:10 PM
Action |
Type |
Old Value |
New Value |
Added |
Reference |
|
https://access.redhat.com/errata/RHSA-2018:1296 [No Types Assigned] |
Initial Analysis -
6/2/2017 12:57:49 PM
Action |
Type |
Old Value |
New Value |
Added |
CPE Configuration |
|
OR
*cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:* |
Added |
CPE Configuration |
|
OR
*cpe:2.3:a:php:php:7.1.5:*:*:*:*:oniguruma-mod:*:* (and previous)
*cpe:2.3:a:ruby-lang:ruby:2.4.1:*:*:*:*:oniguruma-mod:*:* (and previous) |
Added |
CVSS V2 |
|
(AV:N/AC:L/Au:N/C:P/I:P/A:P) |
Added |
CVSS V3 |
|
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Added |
CWE |
|
CWE-787 |
Changed |
Reference Type |
https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b No Types Assigned |
https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b Patch, Third Party Advisory |
Changed |
Reference Type |
https://github.com/kkos/oniguruma/issues/60 No Types Assigned |
https://github.com/kkos/oniguruma/issues/60 Exploit, Third Party Advisory |