GitHub Advisoryadvisory · npm

GHSA-72xf-g2v4-qvf3 tough-cookie Prototype Pollution vulnerability

MEDIUM Published 2023-07-01 Modified 2024-06-21 Official page ↗
Aliases
CVE-2023-26136
Ecosystem
npm
Packages
tough-cookie
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-1321
Reviewed
2023-07-07

Affected packages

• npm tough-cookie: < 4.1.3 → fixed in 4.1.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2023-26136 Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using… vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References