Advisory

GHSA-g7q5-pjjr-gqvp

Also known as: CVE-2017-15010

Summary

Regular Expression Denial of Service in tough-cookie

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-24 20:14 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

tough-cookie

npm · All systems

Affected

  • introduced 0, fixed 2.3.3 (semver)

Fixed versions

2.3.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences