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 Software | Affected Version | How to fix |
---|---|---|
Ruby | =2.4.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-6181 has a medium severity level as it allows remote attackers to induce a denial of service through deep recursion.
To fix CVE-2017-6181, upgrade Ruby to a version that is higher than 2.4.0 where the vulnerability has been addressed.
CVE-2017-6181 specifically affects Ruby version 2.4.0.
CVE-2017-6181 does not directly cause data breaches but can lead to service outages due to application crashes.
CVE-2017-6181 enables remote attackers to execute a denial of service attack through specially crafted regular expressions.