mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
1.0 KiB
1.0 KiB
CVE-2021-23434
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.
POC
Reference
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423
- https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453