CVE-2021-23434
Object-path Project Object-path vulnerability
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.
Affected products
Object-path, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Object-path Project Object-path runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb · Patch
- lists.debian.org/debian-lts-announce/2023/01/msg00031.html · Third Party Advisory
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423 · Exploit
- snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453 · Exploit
- github.com/mariocasciaro/object-path%230116
- nvd.nist.gov/vuln/detail/CVE-2021-23434
- cve.org/CVERecord?id=CVE-2021-23434
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.