CVE-2017-6181: Input Validation

Published Apr 3, 2017
·
Updated

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.

Affected Software

1 affected component
ruby-lang Ruby=2.4.0

Event History

Apr 3, 2017
CVE Published
via MITRE·05:44 AM
Data Sourced
via MITRE·05:44 AM
Description
Data Sourced
via NVD·05:59 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-6181?

CVE-2017-6181 has a medium severity level as it allows remote attackers to induce a denial of service through deep recursion.

2

How do I fix CVE-2017-6181?

To fix CVE-2017-6181, upgrade Ruby to a version that is higher than 2.4.0 where the vulnerability has been addressed.

3

What versions of Ruby are affected by CVE-2017-6181?

CVE-2017-6181 specifically affects Ruby version 2.4.0.

4

Can CVE-2017-6181 cause data breaches?

CVE-2017-6181 does not directly cause data breaches but can lead to service outages due to application crashes.

5

What type of attack does CVE-2017-6181 enable?

CVE-2017-6181 enables remote attackers to execute a denial of service attack through specially crafted regular expressions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203