CVE-2017-6181

Source
https://cve.org/CVERecord?id=CVE-2017-6181
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-6181.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-6181
Published
2017-04-03T05:59:00.847Z
Modified
2026-07-08T11:36:03.085226Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The parsecharclass 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.

References

Affected packages

Git / github.com/ruby/ruby

Affected ranges

Type
GIT
Repo
https://github.com/ruby/ruby
Events
Database specific
{
    "cpe": "cpe:2.3:a:ruby-lang:ruby:2.4.0:*:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "2.4.0"
        },
        {
            "last_affected": "2.4.0"
        }
    ]
}

Affected versions

2.*
2.4.0
Other
v2_4_0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-6181.json"