openEuler Security Advisory
OESA-2023-1930
nodejs-tough-cookie security update
Details
RFC6265 Cookies and Cookie Jar for Node.js.
Security Fix(es):
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.(CVE-2023-26136)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | nodejs-tough-cookie | All versions before 2.3.2-3.oe1 (fixed in 2.3.2-3.oe1) |
| openEuler:20.03-LTS-SP3 | nodejs-tough-cookie | All versions before 2.3.2-3.oe1 (fixed in 2.3.2-3.oe1) |
| openEuler:22.03-LTS | nodejs-tough-cookie | All versions before 2.3.2-3.oe2203sp2 (fixed in 2.3.2-3.oe2203sp2) |
| openEuler:22.03-LTS-SP1 | nodejs-tough-cookie | All versions before 2.3.2-3.oe2203sp1 (fixed in 2.3.2-3.oe2203sp1) |
| openEuler:22.03-LTS-SP2 | nodejs-tough-cookie | All versions before 2.3.2-3.oe2203sp2 (fixed in 2.3.2-3.oe2203sp2) |