CVE-2017-9227

Impact:
Moderate
Public Date:
2017-05-23
CWE:
CWE-125
Bugzilla:
1466739: CVE-2017-9227 oniguruma: Out-of-bounds stack read in mbc_enc_len() during regular expression searching

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2017-9227 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v3 metrics

CVSS3 Base Score 5.9
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity Impact None
Availability Impact High

Red Hat Security Errata

Platform Errata Release Date
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-php70-php) RHSA-2018:1296 2018-05-03
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-php70-php) RHSA-2018:1296 2018-05-03

Affected Packages State

Platform Package State
Red Hat Subscription Asset Manager 1 ruby193-ruby Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux rh-ruby23-ruby Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux rh-ruby22-ruby Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux rh-ruby24-ruby Will not fix
Red Hat Software Collections for Red Hat Enterprise Linux rh-php56-php Will not fix
Red Hat OpenShift Enterprise 2 php Will not fix
Red Hat Enterprise Linux 7 php Will not fix
Red Hat Enterprise Linux 7 ruby Will not fix
Red Hat Enterprise Linux 6 oniguruma Will not fix
Red Hat Enterprise Linux 6 php Will not fix
Red Hat Enterprise Linux 6 ruby Will not fix
Red Hat Enterprise Linux 5 php53 Will not fix
Red Hat Enterprise Linux 5 php Will not fix
Red Hat Enterprise Linux 5 ruby Will not fix

Last Modified

CVE description copyright © 2017, The MITRE Corporation

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.