MEDIUM6.5
GHSA-72xf-g2v4-qvf3
tough-cookie Prototype Pollution vulnerability
Quick fix
GHSA-72xf-g2v4-qvf3 — tough-cookie: upgrade to the fixed version with the command below.
npm install tough-cookie@4.1.3Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26136[ADVISORY]
- https://github.com/salesforce/tough-cookie/issues/282[WEB]
- https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e[WEB]
- https://github.com/salesforce/tough-cookie[PACKAGE]
- https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3[WEB]
- https://lists.debian.org/debian-lts-announce/2023/07/msg00010.html[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ[WEB]
- https://security.netapp.com/advisory/ntap-20240621-0006[WEB]
- https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873[WEB]