CVE-2017-6181 Denial of service in n/a
Remote attackers can crash applications using the Onigmo library by submitting crafted regular expressions that trigger deep recursion.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2017-6181?
CVE-2017-6181 is a high-severity denial of service vulnerability in Ruby-Lang Ruby, published on 3 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-20
Which versions are affected by CVE-2017-6181?
It affects 1 product.
Products include Ruby-Lang Ruby.
How do I fix CVE-2017-6181?
No fix has been published for CVE-2017-6181 yet. Limit exposure of the affected software until one is available.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2017-6181 being exploited?
There is no known exploitation of CVE-2017-6181 in the wild and no public exploit code.
Other vulnerabilities in Ruby-Lang Ruby
Sources
Also known as GHSA-5pfp-rwpx-xgfx.