CVE-2020-7746

NameCVE-2020-7746
DescriptionThis 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-chart.js (PTS)buster2.7.3+dfsg-5vulnerable
bullseye2.9.4+dfsg+~cs2.10.1-3fixed
bookworm3.9.1+~0.2.1-2fixed
sid, trixie3.9.1+~cs3.1.2-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-chart.jssource(unstable)2.9.4+dfsg+~cs2.10.1-1

Notes

[buster] - node-chart.js <ignored> (Minor issue; intrusive to backport)
https://snyk.io/vuln/SNYK-JS-CHARTJS-1018716
https://github.com/chartjs/Chart.js/pull/7920

Search for package or bug name: Reporting problems