Prototype Pollution in Json8 Project
CVE-2020-7770
This affects the package json8 before 1.0.3. The function adds in the target object the property specified in the path, 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 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.019 (78.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 78.9% 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
- Json8 Project
- Json8 — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-JSON8-1017116 (Exploit, Third Party Advisory)
- github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-7770?
- CVE-2020-7770 is a medium-severity vulnerability in Json8 Project, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 6.5/10. Published 2020-11-12.
- How severe is CVE-2020-7770?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2020-7770 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.