PT-2021-6595 · Npm+2 · Object-Path+2

Alessio Della Libera

·

Published

2021-08-27

·

Updated

2023-03-22

·

CVE-2021-23434

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:C
Name of the Vulnerable Software and Affected Versions object-path versions prior to 0.11.6
Description A type confusion issue exists in the object-path package. This issue can lead to a bypass when the path components used in the path parameter are arrays. Specifically, the condition currentPath === ' proto ' returns false if currentPath is [' proto '], due to the === operator returning false when the type of the operands is different. The vulnerability can be exploited by a remote attacker to access confidential data, compromise data integrity, and cause a denial of service.
Recommendations For object-path versions prior to 0.11.6, update to version 0.11.6 or later to resolve the issue. As a temporary workaround, consider restricting the use of array path components in the path parameter to minimize the risk of exploitation.

Exploit

Fix

Prototype Pollution

Type Confusion

Weakness Enumeration

Related Identifiers

BDU:2022-01861
CVE-2021-23434
DLA-3291-1
GHSA-V39P-96QG-C8RF
SNYK-JAVA-ORGWEBJARSNPM-1570423
SNYK-JS-OBJECTPATH-1569453
USN-5967-1

Affected Products

Linuxmint
Ubuntu
Object-Path