Skip to content
Heist/ feed
Back to feed
CriticalFix available

node-tough-cookie — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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 CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.

Products
node-tough-cookie
Affected versions
4.0.0-2
Fixed versions
4.0.0-2+deb12u1, 4.1.3+~4.0.2-1
CVEs
CVE-2023-26136
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:28 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-26136

core-osv · Original source

Published 1 Jul 2023, 05:15 UTC

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.

osv:DEBIAN-CVE-2023-26136

node-tough-cookie

Fixed versions: 4.0.0-2+deb12u1

node-tough-cookie

Fixed versions: 4.1.3+~4.0.2-1

node-tough-cookie

Fixed versions: 4.1.3+~4.0.2-1

Complete source record
{
  "id": "44a644e207cd175dd682faf5af6974731c7169cdb82470c616dd5a563c73dfe1",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-26136",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-26136",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2023-26136",
    "products": [
      {
        "name": {
          "value": "node-tough-cookie",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.0.0-2+deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "4.0.0-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-tough-cookie",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.3+~4.0.2-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "node-tough-cookie",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.1.3+~4.0.2-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "DEBIAN-CVE-2023-26136",
      "aliases": [
        "DEBIAN-CVE-2023-26136"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.0.0-2+deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-tough-cookie",
            "purl": "pkg:deb/debian/node-tough-cookie?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "4.0.0-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-26136.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.3+~4.0.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-tough-cookie",
            "purl": "pkg:deb/debian/node-tough-cookie?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-26136.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4.1.3+~4.0.2-1"
                }
              ]
            }
          ],
          "package": {
            "name": "node-tough-cookie",
            "purl": "pkg:deb/debian/node-tough-cookie?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-26136.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:00:43.399561938Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-26136"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-26136"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-26136",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 455143,
  "published_at": "2023-07-01T05:15:16.103+00:00"
}