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.
Advisories
Source ID Title
EUVD EUVD EUVD-2021-0999 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.
Github GHSA Github GHSA GHSA-7h43-gx24-p529 Prototype pollution in json8
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-09-16T20:42:54.969Z

Reserved: 2020-01-21T00:00:00

Link: CVE-2020-7770

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-11-12T11:15:11.870

Modified: 2024-11-21T05:37:46.237

Link: CVE-2020-7770

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.