要点
- CVE-2020-7766 是影响 json-ptr (json-ptr project), json-ptr 的严重 (CVSS 9.8)漏洞。
- 未来 30 天内被利用的概率(EPSS):1.9%,高于 79.8% 的漏洞。
- 修复:升级到 2.0.0, 2.1.0 或更高版本。
| 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