CVE-2017-9224

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

published May 24, 2017

CVSS
β€”
EPSS
7%
Percentile
93.7
In the wild
Unconfirmed
What it is

⚠️ A logical error in Ruby and PHP could lead to unexpected data exposure! An out-of-bounds read in match_at() is like peeking through the wrong window and seeing more than you bargained for! πŸ” Think of it like a restaurant where the cook accidentally reads the wrong menu order and starts preparing a meal for someone else β€” the risk here is that sensitive information could be revealed unintentionally. 🍽️ In this case, an attacker might exploit this oversight to read unauthorized data from the stack, which could include sensitive information. While not currently being exploited, the potential for data leakage makes this an issue worth addressing to keep your applications secure.

Put simply

Think of it like a restaurant where the cook accidentally reads the wrong menu order and starts preparing a meal for someone else β€” the risk here is that sensitive information could be revealed unintentionally. 🍽️ This vulnerability in Oniguruma 6.2.0, present in Ruby versions up to 2.4.1 and PHP's mbstring through 7.1.5, occurs due to a flawed validation order in the match_at() function, resulting in a stack out-of-bounds read during regular expression operations.

What to do

In this case, an attacker might exploit this oversight to read unauthorized data from the stack, which could include sensitive information. While not currently being exploited, the potential for data leakage makes this an issue worth addressing to keep your applications secure. To remediate this vulnerability, upgrade Ruby to at least version 2.4.2 and ensure that your PHP mbstring is updated to 7.1.6 or later. Regularly check for updates to libraries you use to prevent similar issues in the future! You've got this! By taking these steps, you're safeguarding your applications and stepping up as a security hero! πŸ¦Έβ€β™‚οΈ

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06540 Β· 93.7th percentile
Published
2017-05-24T15:00Z
EPSS history
Timeline
  • 24 MAY 15:00Z
    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
    cvelistv5