CVE Catalog

CVE-2017-6181

High
Published: Translated: NVD NIST

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.

Risk Assessment

Attackers can exploit this vulnerability to crash the application, leading to service unavailability for users.

Recommendation

It is recommended to upgrade to a newer version of Ruby that does not contain this vulnerability to minimize the risk of denial of service.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS