PT-2021-15536 · Npm · Json-Ptr

Alessio Della Libera

·

Published

2021-11-03

·

Updated

2021-11-08

·

CVE-2021-23509

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions json-ptr versions prior to 3.0.0
Description A type confusion issue can lead to a bypass when user-provided keys used in the pointer parameter are arrays. This issue is related to the json-ptr package.
Recommendations For versions prior to 3.0.0, update to version 3.0.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of array values for the pointer parameter until a patch is applied.

Exploit

Fix

Type Confusion

Prototype Pollution

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-23509
GHSA-8GWJ-8HXC-285W
SNYK-JAVA-ORGWEBJARSNPM-1767165
SNYK-JS-JSONPTR-1577291

Affected Products

Json-Ptr