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.
References
Link | Resource |
---|---|
https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-JSON8-1017116 | Exploit Third Party Advisory |
https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-JSON8-1017116 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 05:37
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 6.5 |
References | () https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-JSON8-1017116 - Exploit, Third Party Advisory |
Information
Published : 2020-11-12 11:15
Updated : 2024-11-21 05:37
NVD link : CVE-2020-7770
Mitre link : CVE-2020-7770
CVE.ORG link : CVE-2020-7770
JSON object : View
Products Affected
json8_project
- json8
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')