Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tough-cookie
  4. ›
  5. GMS-2016-49

GMS-2016-49: ReDoS via long string of semicolons

July 22, 2016

Tough-cookie contain a vulnerable regular expression that, under certain conditions involving long strings of semicolons in the “Set-Cookie” header, causes the event loop to block for excessive amounts of time.

References

  • github.com/SalesforceEng/tough-cookie/pull/68

Code Behaviors & Features

Detect and mitigate GMS-2016-49 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.9.7 up to 2.2.2

Fixed versions

  • 2.3.0

Solution

Upgrade to version 2.3.0 or above.

Source file

npm/tough-cookie/GMS-2016-49.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:51 +0000.