Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS03MnhmLWcydjQtcXZmM84AA0LC

tough-cookie Prototype Pollution vulnerability

Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.

Permalink: https://github.com/advisories/GHSA-72xf-g2v4-qvf3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03MnhmLWcydjQtcXZmM84AA0LC
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 10 months ago
Updated: about 2 months ago


CVSS Score: 6.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Identifiers: GHSA-72xf-g2v4-qvf3, CVE-2023-26136
References: Repository: https://github.com/salesforce/tough-cookie
Blast Radius: 40.6

Affected Packages

npm:tough-cookie
Dependent packages: 2,701
Dependent repositories: 1,773,813
Downloads: 149,842,499 last month
Affected Version Ranges: < 4.1.3
Fixed in: 4.1.3
All affected versions: 0.9.0, 0.9.1, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.11, 0.9.12, 0.9.13, 0.9.14, 0.9.15, 0.10.0, 0.11.0, 0.12.0, 0.12.1, 0.13.0, 1.0.0, 1.1.0, 1.2.0, 2.0.0, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.2, 2.4.3, 2.5.0, 3.0.0, 3.0.1, 4.0.0, 4.1.0, 4.1.1, 4.1.2
All unaffected versions: 4.1.3, 4.1.4