Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-7746 (High) detected in Chart-2.7.2.js, chart.js-2.7.2.tgz #127

Open
mend-for-github.aaakk.us.kg bot opened this issue Nov 2, 2020 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github.aaakk.us.kg
Copy link

mend-for-github.aaakk.us.kg bot commented Nov 2, 2020

CVE-2020-7746 - High Severity Vulnerability

Vulnerable Libraries - Chart-2.7.2.js, chart.js-2.7.2.tgz

Chart-2.7.2.js

Simple HTML5 charts using the canvas element.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.js

Path to dependency file: jazz/core/jazz_ui/node_modules/chart.js/samples/scales/time/financial.html

Path to vulnerable library: jazz/core/jazz_ui/node_modules/chart.js/samples/scales/time/../../../dist/Chart.js,jazz/core/jazz_ui/node_modules/chart.js/samples/scriptable/../../dist/Chart.js

Dependency Hierarchy:

  • Chart-2.7.2.js (Vulnerable Library)
chart.js-2.7.2.tgz

Simple HTML5 charts using the canvas element.

Library home page: https://registry.npmjs.org/chart.js/-/chart.js-2.7.2.tgz

Path to dependency file: jazz/core/jazz_ui/package.json

Path to vulnerable library: jazz/core/jazz_ui/node_modules/chart.js/package.json

Dependency Hierarchy:

  • chart.js-2.7.2.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2020-10-29

URL: CVE-2020-7746

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7746

Release Date: 2020-07-21

Fix Resolution: chart.js - 2.9.4

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot added the security vulnerability Security vulnerability detected by WhiteSource label Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants