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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:json8_project:json8:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:37

Type Values Removed Values Added
CVSS v2 : 7.5
v3 : 9.8
v2 : 7.5
v3 : 6.5
References () https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e - Patch, Third Party Advisory () https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e - Patch, Third Party Advisory
References () https://snyk.io/vuln/SNYK-JS-JSON8-1017116 - Exploit, Third Party Advisory () 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')