9.8
CRITICAL
CVE-2017-9224
Oniguruma Stack Buffer Access 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 match_at() during regular expression searching. A logical error involving order of validation and access in match_at() could result in 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:38 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2017-9224 has a 4 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-9224 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.

ID Vendor Product Action
1 Php php
1 Oniguruma_project oniguruma
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-9224.

URL Resource
http://www.securityfocus.com/bid/101244 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2018:1296 Third Party Advisory
https://github.com/kkos/oniguruma/commit/690313a061f7a4fa614ec5cc8368b4f2284e059b Patch Third Party Advisory
https://github.com/kkos/oniguruma/issues/57 Exploit Issue Tracking 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

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 14, 2022, 7:22 p.m. This repo has been linked 13 different CVEs too.

Map Vulnerabilities into Different Layers of the Container Image

Python

Updated: 1 year, 8 months ago
1 stars 0 fork 0 watcher
Born at : Oct. 5, 2022, 12:07 p.m. This repo has been linked 1276 different CVEs too.

Esy-enabled build for the onigurama regex library

Makefile Shell C HTML CMake M4 C++ Python Batchfile

Updated: 1 year, 11 months ago
2 stars 3 fork 3 watcher
Born at : Aug. 17, 2019, 9:46 p.m. This repo has been linked 13 different CVEs too.

None

CMake Makefile Shell M4 C++ HTML Batchfile C Python

Updated: 5 years, 10 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 19, 2018, 3:49 p.m. This repo has been linked 6 different CVEs too.

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-9224 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-9224 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/101244 No Types Assigned http://www.securityfocus.com/bid/101244 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/57 Exploit, Third Party Advisory https://github.com/kkos/oniguruma/issues/57 Exploit, Issue Tracking, 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 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]

    Oct. 31, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/101244 [No Types Assigned]
  • 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]
  • 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/690313a061f7a4fa614ec5cc8368b4f2284e059b No Types Assigned https://github.com/kkos/oniguruma/commit/690313a061f7a4fa614ec5cc8368b4f2284e059b Patch, Third Party Advisory
    Changed Reference Type https://github.com/kkos/oniguruma/issues/57 No Types Assigned https://github.com/kkos/oniguruma/issues/57 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)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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-9224 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-9224 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.42 }} 0.02%

score

0.70308

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability