GitHub Advisoryadvisory · npm

GHSA-qhv9-728r-6jqg ReDoS via long string of semicolons in tough-cookie

MEDIUM Published 2018-10-10 Modified 2021-09-16 Official page ↗
Aliases
CVE-2016-1000232
Ecosystem
npm
Packages
tough-cookie
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-1333
Reviewed
2020-06-16

Affected packages

• npm tough-cookie: < 2.3.0 → fixed in 2.3.0

Description

Affected versions of `tough-cookie` may be vulnerable to regular expression denial of service when long strings of semicolons exist in the `Set-Cookie` header. Recommendation Update to version 2.3.0 or later.

Related

Alias · CVE (1)

  • CVE-2016-1000232 NodeJS Tough-Cookie version 2.2.2 contains a Regular Expression Parsing vulnerability in HTTP request Cookie Header parsing that can result… vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References