CVE-2017-15010 Regular Expression Denial of Service in tough-cookie

High 7.5 Published Updated

An attacker can cause excessive CPU consumption in applications using the tough-cookie module by sending specially crafted cookies.

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-15010?

CVE-2017-15010 is a high-severity denial of service vulnerability in n/a, published on 3 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A ReDoS (regular expression denial of service) flaw was found in the tough-cookie module before 2.3.3 for Node.js. An attacker that is able to make an HTTP request using a specially crafted cookie may cause the application to consume an excessive amount of CPU.

Weakness: CWE-400

Which versions are affected by CVE-2017-15010?

2 open source packages ship an affected version, including tough-cookie. It affects 1 product.

PackageAffectedFixed in
tough-cookie npmAll versions2.3.3
tough-cookie npmAll versions2.3.3
Linux distribution packages (2)
rh-nodejs6-nodejs-tough-cookie Red Hat:rhel_software_collections:2::el6All versions0:2.3.3-1.el6
rh-nodejs6-nodejs-tough-cookie Red Hat:rhel_software_collections:2::el7All versions0:2.3.3-1.el7

Products include Salesforce Tough-Cookie.

How do I fix CVE-2017-15010?

Upgrade tough-cookie to 2.3.3 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-15010 being exploited?

There is no known exploitation of CVE-2017-15010 in the wild and no public exploit code.

Sources

Also known as CLSA-2026-1792164172, CVE-2017-16112, DEBIAN-CVE-2017-15010, GHSA-g7q5-pjjr-gqvp, RHSA-2017:2913, UBUNTU-CVE-2017-15010.

Is CVE-2017-15010 in your software?

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

Check your SBOMs for free