CVE-2017-16099 Regular Expression Denial of Service in no-case
Attackers can cause denial of service in applications using the no-case module by submitting malicious input that blocks the event loop.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-16099?
CVE-2017-16099 is a high-severity denial of service vulnerability in HackerOne no-case node module, published on 7 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The no-case module is vulnerable to regular expression denial of service. When malicious untrusted user input is passed into no-case it can block the event loop causing a denial of service condition.
Weakness: CWE-400
Which versions are affected by CVE-2017-16099?
2 open source packages ship an affected version, including no-case. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
no-case npm | All versions | 2.3.2 |
no-case npm | All versions | 2.3.2 |
Products include No-Case Project No-Case.
How do I fix CVE-2017-16099?
Upgrade no-case to 2.3.2 or later.
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-16099 being exploited?
There is no known exploitation of CVE-2017-16099 in the wild and no public exploit code.
Sources
Also known as GHSA-ff6r-5jwm-8292.