CVE-2023-26136
tough-cookie: prototype pollution in cookie memstore
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium), Red Hat (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | arangodb-3.11, kubeflow-katib, py3-captum | 3.11.14.5-r22 and 2 more |
| debian 10 | node-tough-cookie | 2.3.4+dfsg-1+deb10u1 |
| debian 11 | node-tough-cookie | 4.0.0-2+deb11u1 |
| debian 12 | node-tough-cookie | 4.0.0-2+deb12u1 |
| debian 13 | node-tough-cookie | 4.1.3+~4.0.2-1 |
| debian 14 | node-tough-cookie | 4.1.3+~4.0.2-1 |
| echo | node-tough-cookie | 4.0.0-2+deb12u1 |
| minimos | trigger-dev | 4.5.2-r0 |
| npm::GitHub Security Advisory npm | tough-cookie | 4.1.3 |
| Red Hat | cockpit-ceph-installer, rh-nodejs14-nodejs, rh-nodejs14-nodejs-devel and 3 more | no fix listed |
| wolfi | kubeflow-katib | 0.19.0-r40 |
Show all 18 entries from 11 sources
| Source | Package | Fixed in |
|---|---|---|
| chainguard | arangodb-3.11 | 3.11.14.5-r22 |
| chainguard | kubeflow-katib | 0.19.0-r40 |
| chainguard | py3-captum | 0.9.0-r1 |
| debian 10 | node-tough-cookie | 2.3.4+dfsg-1+deb10u1 |
| debian 11 | node-tough-cookie | 4.0.0-2+deb11u1 |
| debian 12 | node-tough-cookie | 4.0.0-2+deb12u1 |
| debian 13 | node-tough-cookie | 4.1.3+~4.0.2-1 |
| debian 14 | node-tough-cookie | 4.1.3+~4.0.2-1 |
| echo | node-tough-cookie | 4.0.0-2+deb12u1 |
| minimos | trigger-dev | 4.5.2-r0 |
| npm::GitHub Security Advisory npm | tough-cookie | 4.1.3 |
| Red Hat | cockpit-ceph-installer | no fix listed |
| Red Hat | rh-nodejs14-nodejs | no fix listed |
| Red Hat | rh-nodejs14-nodejs-devel | no fix listed |
| Red Hat | rh-nodejs14-nodejs-docs | no fix listed |
| Red Hat | rh-nodejs14-nodejs-full-i18n | no fix listed |
| Red Hat | rh-nodejs14-npm | no fix listed |
| wolfi | kubeflow-katib | 0.19.0-r40 |
References
- https://access.redhat.com/security/cve/CVE-2023-26136
- https://github.com/salesforce/tough-cookie
- 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/package-announce@lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/
All 15 references
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/
- https://nvd.nist.gov/vuln/detail/CVE-2023-26136
- https://security.netapp.com/advisory/ntap-20240621-0006
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
- https://www.cve.org/CVERecord?id=CVE-2023-26136