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 (Critical) detected in Chart-2.7.2.js, chart.js-2.7.2.tgz - autoclosed #23

Closed
mend-for-github-com bot opened this issue Dec 18, 2020 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Dec 18, 2020

CVE-2020-7746 - Critical 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: /core/jazz_ui/node_modules/chart.js/samples/scriptable/bubble.html

Path to vulnerable library: /core/jazz_ui/node_modules/chart.js/samples/scriptable/../../dist/Chart.js,/core/jazz_ui/node_modules/chart.js/samples/scales/time/../../../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: /core/jazz_ui/package.json

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

Dependency Hierarchy:

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

Found in HEAD commit: 712665b267203375ee4b15e1f8d1ebe08abc1547

Found in base branch: develop

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 (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • 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-10-29

Fix Resolution: chart.js - 2.9.4


⛑️ Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Dec 18, 2020
@mend-for-github-com mend-for-github-com bot changed the title CVE-2020-7746 (High) detected in Chart-2.7.2.js, chart.js-2.7.2.tgz CVE-2020-7746 (Critical) detected in Chart-2.7.2.js, chart.js-2.7.2.tgz May 27, 2023
Copy link
Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-for-github-com mend-for-github-com bot changed the title CVE-2020-7746 (Critical) detected in Chart-2.7.2.js, chart.js-2.7.2.tgz CVE-2020-7746 (Critical) detected in Chart-2.7.2.js, chart.js-2.7.2.tgz - autoclosed Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants