Upstream information

CVE-2017-9225 at MITRE

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.

SUSE information

Overall state of this security issue: Does not affect SUSE products

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database SUSE
Base Score 7.5 4.3
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P AV:L/AC:L/Au:S/C:P/I:P/A:P
Access Vector Network Local
Access Complexity Low Low
Authentication None Single
Confidentiality Impact Partial Partial
Integrity Impact Partial Partial
Availability Impact Partial Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 9.8 5.3
Vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Access Vector Network Local
Access Complexity Low Low
Privileges Required None Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High Low
Integrity Impact High Low
Availability Impact High Low
SUSE Bugzilla entry: 1040890 [RESOLVED]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Product(s) Source package State
OpenStack Cloud Magnum Orchestration 7.0 ruby2.1 Not affected
SUSE Lifecycle Management Server 1.3 ruby Not affected
SUSE Linux Enterprise Desktop 12 SP1 ruby Unsupported
SUSE Linux Enterprise Desktop 12 SP1 ruby2.1 Unsupported
SUSE Linux Enterprise Desktop 12 SP2 ruby Not affected
SUSE Linux Enterprise Desktop 12 SP2 ruby2.1 Not affected
SUSE Linux Enterprise Module for Web and Scripting 12 php5 Not affected
SUSE Linux Enterprise Module for Web and Scripting 12 php7 Not affected
SUSE Linux Enterprise SDK 11 SP4 php53 Not affected
SUSE Linux Enterprise SDK 11 SP4 ruby Not affected
SUSE Linux Enterprise SDK 12 SP1 php5 Unsupported
SUSE Linux Enterprise SDK 12 SP1 php7 Unsupported
SUSE Linux Enterprise SDK 12 SP1 ruby Unsupported
SUSE Linux Enterprise SDK 12 SP1 ruby2.1 Unsupported
SUSE Linux Enterprise SDK 12 SP2 php5 Not affected
SUSE Linux Enterprise SDK 12 SP2 php7 Not affected
SUSE Linux Enterprise SDK 12 SP2 ruby Not affected
SUSE Linux Enterprise SDK 12 SP2 ruby2.1 Not affected
SUSE Linux Enterprise Server 11 SP3 LTSS php53 Not affected
SUSE Linux Enterprise Server 11 SP3 LTSS ruby Not affected
SUSE Linux Enterprise Server 11 SP4 php53 Not affected
SUSE Linux Enterprise Server 11 SP4 ruby Not affected
SUSE Linux Enterprise Server 12 GA ruby Not affected
SUSE Linux Enterprise Server 12 GA ruby2.1 Not affected
SUSE Linux Enterprise Server 12 SP1 ruby Unsupported
SUSE Linux Enterprise Server 12 SP1 ruby2.1 Unsupported
SUSE Linux Enterprise Server 12 SP2 ruby Not affected
SUSE Linux Enterprise Server 12 SP2 ruby2.1 Not affected
SUSE Studio Onsite 1.3 ruby Not affected