En bref
- CVE-2020-7766 est une vulnérabilité CRITIQUE (CVSS 9.8) touchant json-ptr (json-ptr project), json-ptr.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 1.9%, plus élevée que 79.8% des vulnérabilités.
- Correctif : mettre à jour vers 2.0.0, 2.1.0 ou plus récent.
| 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