Critical, CVSS 9.8npmAmendedPublished
Prototype pollution in json8
CVE-2020-7770 · GHSA-7h43-gx24-p529
- Affected
- npm json8 < 1.0.3
- Fixed in
- 1.0.3· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 1.0.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.