CVE-2017-9227
Apache Oniguruma Stack-based Out-of-Bounds Read 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 read occurs in mbc_enc_len() during regular expression searching. Invalid handling of reg->dmin in forward_search_range() could result in an invalid pointer dereference, as an out-of-bounds read from a stack buffer.
INFO
Published Date :
May 24, 2017, 3:29 p.m.
Last Modified :
July 20, 2022, 4:34 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-9227 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-9227
.
URL | Resource |
---|---|
http://www.securityfocus.com/bid/100538 | Third Party Advisory VDB Entry |
https://access.redhat.com/errata/RHSA-2018:1296 | Third Party Advisory |
https://github.com/kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814 | Patch Third Party Advisory |
https://github.com/kkos/oniguruma/issues/58 | Exploit Issue Tracking Patch 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
Map Vulnerabilities into Different Layers of the Container Image
Python
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-9227
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-9227
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 -
Modified Analysis by [email protected]
Jul. 20, 2022
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.securityfocus.com/bid/100538 No Types Assigned http://www.securityfocus.com/bid/100538 Third Party Advisory, VDB Entry Changed Reference Type https://access.redhat.com/errata/RHSA-2018:1296 No Types Assigned https://access.redhat.com/errata/RHSA-2018:1296 Third Party Advisory Changed Reference Type https://github.com/kkos/oniguruma/issues/58 Exploit, Third Party Advisory https://github.com/kkos/oniguruma/issues/58 Exploit, Issue Tracking, Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:php:php:*:*:*:*:*:oniguruma-mod:*:* versions up to (including) 7.1.5 *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:oniguruma-mod:*:* versions up to (including) 2.4.1 OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 5.6.0 up to (excluding) 5.6.31 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.21 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.1.0 up to (excluding) 7.1.7 -
CVE Modified by [email protected]
May. 04, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:1296 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 13, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/100538 [No Types Assigned] -
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/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814 No Types Assigned https://github.com/kkos/oniguruma/commit/9690d3ab1f9bcd2db8cbe1fe3ee4a5da606b8814 Patch, Third Party Advisory Changed Reference Type https://github.com/kkos/oniguruma/issues/58 No Types Assigned https://github.com/kkos/oniguruma/issues/58 Exploit, Third Party Advisory Added CWE CWE-125 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-9227
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-9227
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.34 }} 0.12%
score
0.66945
percentile