Skip to content

CVE-2023-26136 tough-cookie Prototype Pollution vulnerability

CriticalCVSS 9.8 EPSS 2.6%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
npm tough-cookie(npm) < 4.1.3 4.1.3
debian/node-tough-cookie(Debian:12) < 4.0.0-2+deb12u1 4.0.0-2+deb12u1
debian/node-tough-cookie(Debian:12) = 4.0.0-2 No fix listed
debian/node-tough-cookie(Debian:13) < 4.1.3+~4.0.2-1 4.1.3+~4.0.2-1
debian/node-tough-cookie(Debian:14) < 4.1.3+~4.0.2-1 4.1.3+~4.0.2-1
Salesforce tough-cookie < 4.1.3 4.1.3
ubuntu/node-tough-cookie(Ubuntu:24.04) All versions No fix listed
ubuntu/node-tough-cookie(Ubuntu:22.04) < 4.0.0-2ubuntu0.1~esm1 4.0.0-2ubuntu0.1~esm1
ubuntu/node-tough-cookie(Ubuntu:Pro:18.04) < 2.3.2+dfsg-1ubuntu0.1~esm1 2.3.2+dfsg-1ubuntu0.1~esm1
ubuntu/node-tough-cookie(Ubuntu:Pro:18.04) = 2.3.2+dfsg-1 No fix listed
ubuntu/node-tough-cookie(Ubuntu:Pro:20.04) < 3.0.0-1ubuntu0.1~esm1 3.0.0-1ubuntu0.1~esm1
ubuntu/node-tough-cookie(Ubuntu:Pro:20.04) = 2.3.4+dfsg-1 No fix listed
ubuntu/node-tough-cookie(Ubuntu:Pro:20.04) = 3.0.0-1 No fix listed
ubuntu/node-tough-cookie(Ubuntu:Pro:22.04) < 4.0.0-2ubuntu0.1~esm1 4.0.0-2ubuntu0.1~esm1
ubuntu/node-tough-cookie(Ubuntu:Pro:22.04) = 4.0.0-2 No fix listed

References