ADVISORIES

openEuler Security Advisory

OESA-2023-1930

nodejs-tough-cookie security update

Critical CVE-2023-26136

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

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1nodejs-tough-cookie
All versions before 2.3.2-3.oe1 (fixed in 2.3.2-3.oe1)
openEuler:20.03-LTS-SP3nodejs-tough-cookie
All versions before 2.3.2-3.oe1 (fixed in 2.3.2-3.oe1)
openEuler:22.03-LTSnodejs-tough-cookie
All versions before 2.3.2-3.oe2203sp2 (fixed in 2.3.2-3.oe2203sp2)
openEuler:22.03-LTS-SP1nodejs-tough-cookie
All versions before 2.3.2-3.oe2203sp1 (fixed in 2.3.2-3.oe2203sp1)
openEuler:22.03-LTS-SP2nodejs-tough-cookie
All versions before 2.3.2-3.oe2203sp2 (fixed in 2.3.2-3.oe2203sp2)

References