View all vulnerabilities

CVE-2017-15010

Regular Expression Denial of Service in tough-cookie

Affected versions of `tough-cookie` are susceptible to a regular expression denial of service.The amplification on this vulnerability is relatively low - it takes around 2 seconds for the engine to execute on a malicious input which is 50,000 characters in length.If node was compiled using the `-DHTTP_MAX_HEADER_SIZE` however, the impact of the vulnerability can be significant, as the primary limitation for the vulnerability is the default max HTTP header length in node.## RecommendationUpdate to version 2.3.3 or later.

Patch Available

Fix available through Seal Security. No upgrade required, protect your application instantly.

Fix without upgrading
Vulnerability Details
Score
7.5
Score Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Versions
tough-cookie < 2.3.3
Severity
High
Ecosystem
JavaScript
Publish Date
July 24, 2018
Modified Date
November 7, 2023