GHSA-x5r6-x823-9848HighCVSS 7.3

Arbitrary Code Execution in json-ptr

Published
May 10, 2021
Last Modified
September 5, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • npm/json-ptr:< 2.1.0

🔗 References (9)