EcommEasy / EcommEasy-Admin

The admin app of EcommEasy build using React and Express.
MIT License
1 stars 3 forks source link

CVE-2020-7746 (Critical) detected in chart.js-2.8.0.tgz #221

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2020-7746 - Critical Severity Vulnerability

Vulnerable Library - chart.js-2.8.0.tgz

Simple HTML5 charts using the canvas element.

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

Path to dependency file: /EcommEasy-Admin/package.json

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

Dependency Hierarchy: - :x: **chart.js-2.8.0.tgz** (Vulnerable Library)

Found in HEAD commit: 7f59033ff8afe2f83ad2413d6b10103e2f2d764e

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 (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: 2.9.4


Step up your Open Source Security Game with Mend here