CVE-2017-9228
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2017-9228
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2017-05-24T15:29:00
- Last Modified Date
- 2022-07-20T16:34:30
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 5.6.0 | 5.6.31 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.0.0 | 7.0.21 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.1.0 | 7.1.7 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/kkos/oniguruma/issues/60 | Exploit Third Party Advisory |
https://github.com/kkos/oniguruma/commit/3b63d12038c8d8fc278e81c942fa9bec7c704c8b | Patch Third Party Advisory |
https://access.redhat.com/errata/RHSA-2018:1296 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-9228 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9228 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 18:44:19 | Added to TrackCVE | |||
2022-12-02 17:17:18 | 2017-05-24T15:29Z | 2017-05-24T15:29:00 | CVE Published Date | updated |
2022-12-02 17:17:18 | 2022-07-20T16:34:30 | CVE Modified Date | updated | |
2022-12-02 17:17:18 | Analyzed | Vulnerability Status | updated |