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

EPSS: 0.019 (77.2th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.