CVE-2020-7746
chart.js: prototype pollution
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD. Más baja según GHSA (alta), Red Hat (alta), Ubuntu (baja).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| debian 10 | node-chart.js | sin corrección indicada |
| debian 11 | node-chart.js | 2.9.4+dfsg+~cs2.10.1-1 |
| debian 12 | node-chart.js | 2.9.4+dfsg+~cs2.10.1-1 |
| debian 13 | node-chart.js | 2.9.4+dfsg+~cs2.10.1-1 |
| debian 14 | node-chart.js | 2.9.4+dfsg+~cs2.10.1-1 |
| echo | node-chart.js | 2.9.4+dfsg+~cs2.10.1-1 |
| npm::GitHub Security Advisory npm | chart.js | 2.9.4 |
| ubuntu 20.04-ESM | node-chart.js | sin corrección indicada |
Referencias
- https://access.redhat.com/security/cve/CVE-2020-7746
- https://github.com/chartjs/Chart.js/pull/7920
- https://nvd.nist.gov/vuln/detail/CVE-2020-7746
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1019375
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCHARTJS-1019376
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019374
- https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716
- https://www.cve.org/CVERecord?id=CVE-2020-7746