CVE-2017-6181 Denial of service in n/a

High 7.5 Published Updated

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.

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-5pfp-rwpx-xgfx.

Is CVE-2017-6181 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free