Vulnerability · Published Nov 12, 2020 · Assigned by snyk

CVE-2020-7770Prototype Pollution

Medium 6.5

In plain English

A medium-severity security flaw in json8. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.9%top 20.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
npmjson81.0.3GHSA-7h43-gx24-p529

Affected products (as reported)

VendorProductVersions
n/a json8 unspecified – before 1.0.3

References