Asymmetric denial of service In tough-cookie
Description
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.
Recommendation
Update to version 2.3.3 or later.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
npm | 2.3.3 | ||
debian 13 | 2.3.4+dfsg-1 | ||
debian 11 | 2.3.4+dfsg-1 | ||
debian 14 | 2.3.4+dfsg-1 | ||
debian 12 | 2.3.4+dfsg-1 |
Aliases
References