CVE-2020-7746
Last modified
CVE-2020-7746 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. This affects the package chart.js before 2.9.4. The options parameter is not properly sanitized when it is processed. EPSS estimates a 4.68% chance of exploitation in the next 30 days.
Description
This affects the package chart.js before 2.9.4. The options parameter is not properly sanitized when it is processed. When the options are processed, the existing options (or the defaults options) are deeply merged with provided options. However, during this operation, the keys of the object being set are not checked, leading to a prototype pollution.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Chartjs | Chart.Js | < 2.9.4 |
References
- https://github.com/chartjs/Chart.js/pull/7920Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCHARTJS-1019376Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716Exploit, Third Party Advisory
- https://github.com/chartjs/Chart.js/pull/7920Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCHARTJS-1019376Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7746?
How severe is CVE-2020-7746?
How do I fix CVE-2020-7746?
Are you affected by CVE-2020-7746?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
