CVE-2020-7770
Prototype pollution in json8
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | json8 | 1.0.3 |