CVE-2017-9225
Oniguruma Buffer Overflow Vulnerability
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.
INFO
Published Date :
May 24, 2017, 3:29 p.m.
Last Modified :
June 2, 2017, 2:14 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-9225 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2017-9225
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-9225
.
URL | Resource |
---|---|
https://github.com/kkos/oniguruma/commit/166a6c3999bf06b4de0ab4ce6b088a468cc4029f | Patch Third Party Advisory |
https://github.com/kkos/oniguruma/issues/56 | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
CMake Makefile Shell M4 C Python C++ HTML Batchfile
Esy-enabled build for the onigurama regex library
Makefile Shell C HTML CMake M4 C++ Python Batchfile
None
CMake Makefile Shell M4 C++ HTML Batchfile C Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-9225
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-9225
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Jun. 02, 2017
Action Type Old Value New Value 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 Changed Reference Type https://github.com/kkos/oniguruma/commit/166a6c3999bf06b4de0ab4ce6b088a468cc4029f No Types Assigned https://github.com/kkos/oniguruma/commit/166a6c3999bf06b4de0ab4ce6b088a468cc4029f Patch, Third Party Advisory Changed Reference Type https://github.com/kkos/oniguruma/issues/56 No Types Assigned https://github.com/kkos/oniguruma/issues/56 Exploit, Third Party Advisory Added CWE CWE-787 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)
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-9225
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-9225
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.34 }} 0.14%
score
0.71632
percentile