Vulnerability Details : CVE-2017-9225
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.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2017-9225
- cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:*
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:*
- cpe:2.3:a:oniguruma_project:oniguruma:6.2.0:*:*:*:*:*:*:*
Threat overview for CVE-2017-9225
Top countries where our scanners detected CVE-2017-9225
Top open port discovered on systems with this issue
80
IPs affected by CVE-2017-9225 622,471
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2017-9225!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2017-9225
0.44%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 75 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-9225
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2017-9225
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-9225
-
https://github.com/kkos/oniguruma/commit/166a6c3999bf06b4de0ab4ce6b088a468cc4029f
fix #56 : return invalid result for codepoint 0xFFFFFFFF · kkos/oniguruma@166a6c3 · GitHubPatch;Third Party Advisory
-
https://github.com/kkos/oniguruma/issues/56
Buffer Overflow in onigenc_unicode_get_case_fold_codes_by_str() · Issue #56 · kkos/oniguruma · GitHubExploit;Third Party Advisory
Jump to