7.5
CWE
20
Advisory Published
Updated

CVE-2017-6181: Input Validation

First published: Mon Apr 03 2017(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Ruby=2.4.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

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

    CVE-2017-6181 specifically affects Ruby version 2.4.0.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203