CVE-2017-16111 Regular Expression Denial of Service in content
Attackers can cause denial of service in applications using the content module by sending crafted HTTP headers that trigger excessive CPU usage.
- 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-16111?
CVE-2017-16111 is a high-severity denial of service vulnerability in HackerOne content 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 content module is a module to parse HTTP Content-* headers. It is used by the hapijs framework to provide this functionality. The module is vulnerable to regular expression denial of service when passed a specifically crafted Content-Type or Content-Disposition header.
Weakness: CWE-400
Which versions are affected by CVE-2017-16111?
2 open source packages ship an affected version, including content. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
content npm | All versions | 3.0.7 |
content npm | All versions | 3.0.7 |
Products include Content Project Content.
How do I fix CVE-2017-16111?
Upgrade content to 3.0.7 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-16111 being exploited?
There is no known exploitation of CVE-2017-16111 in the wild and no public exploit code.
Other vulnerabilities in HackerOne content node module
Sources
Also known as GHSA-x6wp-rfwh-hcx7.