CVE-2017-16114 Regular Expression Denial of Service in marked

High 7.5 Published Updated

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.

PackageAffectedFixed in
marked npmAll versions0.3.9
marked npmAll versions0.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.

Sources

Also known as DEBIAN-CVE-2017-16114, GHSA-x5pg-88wf-qq4p, UBUNTU-CVE-2017-16114.

Is CVE-2017-16114 in your software?

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

Check your SBOMs for free