This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.
The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453 | third party advisory exploit |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423 | third party advisory exploit |
https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb | third party advisory patch |
https://github.com/mariocasciaro/object-path%230116 | broken link |
https://lists.debian.org/debian-lts-announce/2023/01/msg00031.html | third party advisory mailing list |