Skip to content

chart.js-1.0.2.tgz: 1 vulnerabilities (highest severity is: 7.5) reachable #5

@dev-mend-for-github-com

Description

@dev-mend-for-github-com
Vulnerable Library - chart.js-1.0.2.tgz

Simple HTML5 charts using the canvas element.

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

Path to dependency file: /webapp/package.json

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

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (chart.js version) Remediation Possible** Reachability
CVE-2020-7746 High 7.5 chart.js-1.0.2.tgz Direct 2.9.4

Reachable

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2020-7746

Vulnerable Library - chart.js-1.0.2.tgz

Simple HTML5 charts using the canvas element.

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

Path to dependency file: /webapp/package.json

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

Dependency Hierarchy:

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

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

mattermost-0.0.1/components/analytics/doughnut_chart.jsx (Application)
  -> ❌ chart.js-1.0.2/Chart.js (Vulnerable Component)

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-10-29

Fix Resolution: 2.9.4

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions