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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | json8 | 1.0.3 | GHSA-7h43-gx24-p529 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-JSON8-1017116 x_refsource_MISC
- https://github.com/sonnyp/JSON8/commit/2e890261b66cbc54ae01d0c79c71b0fd18379e7e x_refsource_MISC