
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2020-7708 affects the @irrelon/path package versions prior to 4.7.0. The vulnerability was discovered on August 14, 2020, and publicly disclosed on August 19, 2020. This security issue involves a Prototype Pollution vulnerability that can be exploited through the set, unSet, pushVal, and pullVal functions (Snyk DB).
The vulnerability allows attackers to inject properties into existing JavaScript language construct prototypes through the manipulation of magical attributes such as proto, constructor, and prototype. The issue specifically exists in the package's path manipulation functions that handle object property definitions. The vulnerability has a CVSS v3.1 base score of 7.5, indicating high severity, with attack vector being Network, attack complexity Low, and requiring no privileges or user interaction (Snyk DB).
When successfully exploited, this vulnerability can lead to either denial of service by triggering JavaScript exceptions or tampering with the application source code. The attacker can pollute Object.prototype.someattr and alter its state to unexpected values, potentially causing application failures. In some cases, it could also lead to remote code execution if the codebase evaluates and executes specific attributes of an object (Snyk DB).
The vulnerability is easily exploitable with a proof of concept available. An attacker can exploit this by using simple commands such as path.set({}, '__proto__.polluted', true) to pollute the object prototype. The exploit requires no special privileges or user interaction, making it highly accessible to potential attackers (Snyk DB).
The vulnerability was patched in version 4.7.0 of @irrelon/path. The fix includes adding checks to prevent prototype pollution by validating and blocking access to proto properties. Users should upgrade to version 4.7.0 or higher. Additional preventive measures include freezing the prototype using Object.freeze(Object.prototype), requiring schema validation of JSON input, and considering the use of objects without prototypes or using Map instead of Object (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."