CVE-2023-26136
published medium CVSS 3.1 · 6.5tough-cookie: prototype pollution in cookie memstore
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | tough-cookie0 to < 4.1.3 | Affected | Not stated | snyk |
| Debian | buster | node-tough-cookie | Advisory build | 2.3.4+dfsg-1+deb10u1 | DLA-3488-1 |
| Ubuntu | bionic | node-tough-cookie | Advisory build | 2.3.2+dfsg-1ubuntu0.1~esm1 | USN-9080-1 |
| Ubuntu | focal | node-tough-cookie | Advisory build | 3.0.0-1ubuntu0.1~esm1 | USN-9080-1 |
| Ubuntu | jammy | node-tough-cookie | Advisory build | 4.0.0-2ubuntu0.1~esm1 | USN-9080-1 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | tough-cookie | 0 to < 4.1.3 (affected · semver) | snyk · cna |
Weaknesses
1- CWE-1321 Prototype Pollution
References
8- https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e
- https://github.com/salesforce/tough-cookie/issues/282
- https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3
- https://lists.debian.org/debian-lts-announce/2023/07/msg00010.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 31f4857ab4db7cda77962e230bb5716c40c8411668a8416bdc6297723caafce2
- Ingested
- 23 Sep 2026, 08:07:05 UTC
- Source record
- Official CVE record