Lucene search

K
osvGoogleOSV:GHSA-X5R6-X823-9848
HistoryMay 10, 2021 - 7:15 p.m.

Arbitrary Code Execution in json-ptr

2021-05-1019:15:43
Google
osv.dev
13
npm
json-ptr
arbitrary code execution
vulnerability
set operation
force flag
prototype pollution

EPSS

0.009

Percentile

82.6%

npm json-ptr before 2.1.0 has an arbitrary code execution vulnerability. The issue occurs in the set operation when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution.

EPSS

0.009

Percentile

82.6%

Related for OSV:GHSA-X5R6-X823-9848