PT-2021-8000 · Npm · Json-Pointer

Alessio Della Libera

·

Published

2021-10-31

·

Updated

2025-03-05

·

CVE-2021-23807

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions jsonpointer versions prior to 5.0.0
Description A type confusion issue in the jsonpointer package can lead to a bypass of a previous Prototype Pollution fix when the pointer components are arrays. This can potentially allow a remote attacker to execute arbitrary code. The issue is related to errors in data type conversion.
Recommendations For versions prior to 5.0.0, update to version 5.0.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of the jsonpointer package until a patch is applied. Avoid using the jsonpointer package with array components in pointer paths until the issue is resolved.

Exploit

Fix

Prototype Pollution

Type Confusion

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

Weakness Enumeration

Related Identifiers

BDU:2024-01733
CVE-2021-23807
GHSA-282F-QQGM-C34Q
OESA-2022-1755
SNYK-JAVA-ORGWEBJARSNPM-1910273
SNYK-JS-JSONPOINTER-1577288

Affected Products

Json-Pointer