Packages / tough-cookie / Security
tough-cookie Prototype Pollution vulnerability
Affected releases · tough-cookie
- 4.x4.0.0 – 4.1.2Fixed in 4.1.3
- 3.x and older0.9.0 – 3.0.1No fix, no longer updated
On 4.x, the newest line:
npm install tough-cookie@4.1.3Every release on a timeline
Not affected
6.0.0 – 6.1.0
4 releases, latest
Affected
4.0.0 – 4.1.2
4 releases
Fixed
4.1.3 – 4.1.4
2 releases
Affected
3.0.0 – 3.0.1
2 releases
Affected
2.0.0 – 2.5.0
13 releases
Affected
1.0.0 – 1.2.0
3 releases
Affected
0.9.0 – 0.13.0
19 releases
What happens
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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.