Vulnerability Name:

CVE-2017-6181 (CCN-128545)

Assigned:2017-02-20
Published:2017-02-20
Updated:2017-04-11
Summary:The parse_char_class function in regparse.c in the Onigmo (aka Oniguruma-mod) regular expression library, as used in Ruby 2.4.0, allows remote attackers to cause a denial of service (deep recursion and application crash) via a crafted regular expression.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-20
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2017-6181

Source: BID
Type: Third Party Advisory, VDB Entry
97304

Source: CCN
Type: BID-97304
Ruby CVE-2017-6181 Denial of Service Vulnerability

Source: CCN
Type: Ruby Bug #13234
Infinite recursion (stack overflow) in parse_char_class()

Source: CONFIRM
Type: Issue Tracking, Vendor Advisory
https://bugs.ruby-lang.org/issues/13234

Source: CONFIRM
Type: Issue Tracking, Vendor Advisory
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/57660

Source: XF
Type: UNKNOWN
ruby-cve20176181-dos(128545)

Source: CCN
Type: Ruby Web site
Ruby

Vulnerable Configuration:Configuration 1:
  • cpe:/a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.precise:def:20176181000
    V
    CVE-2017-6181 on Ubuntu 12.04 LTS (precise) - medium.
    2017-04-03
    oval:com.ubuntu.trusty:def:20176181000
    V
    CVE-2017-6181 on Ubuntu 14.04 LTS (trusty) - medium.
    2017-04-03
    oval:com.ubuntu.xenial:def:20176181000
    V
    CVE-2017-6181 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-04-03
    oval:com.ubuntu.xenial:def:201761810000000
    V
    CVE-2017-6181 on Ubuntu 16.04 LTS (xenial) - medium.
    2017-04-03
    BACK
    ruby-lang ruby 2.4.0