CVE-2017-16114 Regular Expression Denial of Service in marked
Attackers can cause a denial of service in the marked library by submitting specially crafted input that triggers excessive regular expression 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-16114?
CVE-2017-16114 is a high-severity denial of service vulnerability in HackerOne marked 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 marked module is vulnerable to a regular expression denial of service. Based on the information published in the public issue, 1k characters can block for around 6 seconds.
Weakness: CWE-400
Which versions are affected by CVE-2017-16114?
2 open source packages ship an affected version, including marked. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
marked npm | All versions | 0.3.9 |
marked npm | All versions | 0.3.9 |
Products include Marked Project Marked.
How do I fix CVE-2017-16114?
Upgrade marked to 0.3.9 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-16114 being exploited?
There is no known exploitation of CVE-2017-16114 in the wild and no public exploit code.
Other vulnerabilities in HackerOne marked node module
- CVE-2026-41680 Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer
- CVE-2018-25110 Regular Expression Denial of Service (ReDoS) in markedjs/marked
- CVE-2014-3743 Multiple Content Injection Vulnerabilities in marked
- CVE-2016-10531 Sanitization bypass using HTML Entities in marked
- CVE-2017-1000427 Marked vulnerable to XSS from data URIs
Sources
Also known as DEBIAN-CVE-2017-16114, GHSA-x5pg-88wf-qq4p, UBUNTU-CVE-2017-16114.