
Cloud Vulnerability DB
A community-led vulnerabilities database
A type confusion vulnerability (CVE-2021-23434) was discovered in object-path, a Node.js module used to access deep object properties using dot-separated paths. The vulnerability was disclosed on August 25, 2021, affecting versions prior to 0.11.6. This vulnerability could lead to a bypass of the previous CVE-2020-15256 fix when the path components used in the path parameter are arrays (NVD, Snyk).
The vulnerability occurs because the === operator returns false when the type of the operands is different. Specifically, when path components are arrays, the condition currentPath === 'proto' returns false if currentPath is ['proto'], allowing for prototype pollution attacks. The vulnerability was discovered by Alessio Della Libera of Snyk Research Team (Snyk).
The vulnerability could allow an attacker to perform prototype pollution attacks, which could lead to property injection, denial of service, or in some cases, remote code execution. When exploited, attackers could manipulate JavaScript application object prototypes by injecting malicious values, potentially affecting all JavaScript objects through the prototype chain (Snyk).
The vulnerability has been fixed in version 0.11.6 of object-path. Users are recommended to upgrade to this version or higher. Alternative mitigation strategies include freezing the prototype using Object.freeze(Object.prototype), requiring schema validation of JSON input, avoiding unsafe recursive merge functions, and considering the use of objects without prototypes or using Map instead of Object (Snyk).
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."