CVE-2017-9225
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 stack out-of-bounds write in onigenc_unicode_get_case_fold_codes_by_str() occurs during regular expression compilation. Code point 0xFFFFFFFF is not properly handled in unicode_unfold_key(). A malformed regular expression could result in 4 bytes being written off the end of a stack buffer of expand_case_fold_string() during the call to onigenc_unicode_get_case_fold_codes_by_str(), a typical stack buffer overflow.
Overview
- CVE ID
- CVE-2017-9225
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2017-05-24T15:29:00
- Last Modified Date
- 2017-06-02T14:14:36
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:*:*:*:*:*:oniguruma-mod:*:* | 1 | OR | 7.1.5 | |
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:* | 1 | OR | 2.4.1 |
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.0
- Vector String
- CVSS:3.0/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/56 | Exploit Third Party Advisory |
https://github.com/kkos/oniguruma/commit/166a6c3999bf06b4de0ab4ce6b088a468cc4029f | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-9225 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-9225 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 09:42:22 | Added to TrackCVE | |||
2022-12-02 17:17:10 | 2017-05-24T15:29Z | 2017-05-24T15:29:00 | CVE Published Date | updated |
2022-12-02 17:17:10 | 2017-06-02T14:14:36 | CVE Modified Date | updated | |
2022-12-02 17:17:10 | Analyzed | Vulnerability Status | updated |