Description
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.
Remediation
References
https://github.com/mariocasciaro/object-path%230116
https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb
https://lists.debian.org/debian-lts-announce/2023/01/msg00031.html
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423
https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453
Related Vulnerabilities
CVE-2023-31417 Vulnerability in maven package org.elasticsearch:elasticsearch
CVE-2021-21306 Vulnerability in maven package org.webjars.npm:marked
CVE-2023-45137 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates
CVE-2020-26302 Vulnerability in maven package org.webjars.bower:is_js
CVE-2022-22984 Vulnerability in npm package @snyk/snyk-hex-plugin