Live threats

All CVEs / Ruby-lang

CVE-2017-6181Ruby-lang Ruby

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Apr 3, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby2.4.0

Official sources

References

Links published by the sources. Open them with care.