Vulnerability Details : 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.
Products affected by CVE-2020-7770
- cpe:2.3:a:json8_project:json8:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7770
0.44%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 74 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7770
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
2.8
|
3.6
|
Snyk |
CWE ids for CVE-2020-7770
-
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-7770
-
https://snyk.io/vuln/SNYK-JS-JSON8-1017116
Prototype Pollution in json8 | SnykExploit;Third Party Advisory
-
https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e
json8-merge-patch: Prevent prototype pollution 2 (#116) · sonnyp/JSON8@2e89026 · GitHubPatch;Third Party Advisory
Jump to