Kurz gesagt
- CVE-2020-7766 ist eine Schwachstelle (KRITISCH (CVSS 9.8)) in json-ptr (json-ptr project), json-ptr.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 1.9%, höher als bei 79.8% aller Schwachstellen.
- Abhilfe: auf 2.0.0, 2.1.0 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| json-ptr | < 2.0.0
| 2.0.0
|
| json-ptr npm | < 2.1.0
| 2.1.0
|
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.
NVD description
This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free