Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in org.webjars.bowergithub.salesforce:tough-cookie
CVE-2023-26136
- org.webjars.bowergithub.salesforce:tough-cookie
- org.webjars.npm:tough-cookie
- tough-cookie
Summary
The package tough-cookie in versions prior to 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.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-1321 - Prototype Pollution
Prototype pollution is one of the lesser-known vulnerabilities. It allows attackers to abuse the rules of JavaScript by injecting properties into the general object “Object” in JS. Modifying the prototype of “Object” affects the behavior of all objects in the entire app, potentially resulting in denial of service, arbitrary code execution, cross-site scripting, etc.
References
Advisory Timeline
- Published