CVE-2017-16113 Regular Expression Denial of Service in parsejson
Attackers can cause denial of service in applications using the parsejson module by submitting specially crafted input that triggers excessive regex processing.
- 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-16113?
CVE-2017-16113 is a high-severity denial of service vulnerability in HackerOne parsejson 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 parsejson module is vulnerable to regular expression denial of service when untrusted user input is passed into it to be parsed.
Which versions are affected by CVE-2017-16113?
2 open source packages ship an affected version, including parsejson. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
parsejson npm | All versions to 0.0.3 | None |
parsejson npm | All versions to 0.0.3 | None |
Products include Parsejson Project Parsejson.
How do I fix CVE-2017-16113?
Upgrade to a fixed version.
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-16113 being exploited?
There is no known exploitation of CVE-2017-16113 in the wild and no public exploit code.
Sources
Also known as CLSA-2026-1773101682, CLSA-2026-1793204379, GHSA-q75g-2496-mxpp.