CVE-2016-1000232 ReDoS via long string of semicolons in tough-cookie
A regular expression parsing flaw in the tough-cookie library allows attackers to cause a denial of service via crafted HTTP cookie headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-1000232?
CVE-2016-1000232 is a medium-severity denial of service vulnerability in Ibm Api Connect, published on 5 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
NodeJS Tough-Cookie version 2.2.2 contains a Regular Expression Parsing vulnerability in HTTP request Cookie Header parsing that can result in Denial of Service. This attack appear to be exploitable via Custom HTTP header passed by client. This vulnerability appears to have been fixed in 2.3.0.
Weakness: CWE-20
Which versions are affected by CVE-2016-1000232?
2 open source packages ship an affected version, including tough-cookie. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
tough-cookie npm | All versions | 2.3.0 |
tough-cookie npm | All versions | 2.3.0 |
Products include Ibm Api Connect, Redhat Openshift Container Platform, Salesforce Tough-Cookie.
How do I fix CVE-2016-1000232?
Upgrade tough-cookie to 2.3.0 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-2016-1000232 being exploited?
There is no known exploitation of CVE-2016-1000232 in the wild and no public exploit code.
Other vulnerabilities in Ibm Api Connect
Sources
Also known as CLSA-2026-1784596295, GHSA-qhv9-728r-6jqg.