Prototype Pollution in Json-Ptr Project
CVE-2020-7766
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.
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.019 (79.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
- Json-Ptr Project
- Json-Ptr — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-JSONPTR-1016939 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396 (Exploit, Third Party Advisory)
- github.com/flitbit/json-ptr/blob/master/src/util.ts#L174 (Broken Link)
Frequently asked questions
- What is CVE-2020-7766?
- CVE-2020-7766 is a high-severity vulnerability in Json-Ptr Project, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 7.3/10. Published 2020-11-10.
- How severe is CVE-2020-7766?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2020-7766 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.