Type Confusion Vulnerability in object-path Package (CVE-2020-15256 Bypass)

Type Confusion Vulnerability in object-path Package (CVE-2020-15256 Bypass)

CVE-2021-23434 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

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.

Learn more about our Web Application Penetration Testing UK.