Baneeishaque / ask-med-pharma_Wordpress

Other
0 stars 0 forks source link

CVE-2020-7746 (Critical) detected in Chart-1.0.2.min.js #38

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-1.0.2.min.js

Simple HTML5 charts using the canvas element.

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

Path to vulnerable library: /wp-content/themes/redart-Copy/functions/plugins/js_composer/js_composer/assets/lib/bower/chartjs/Chart.min.js,/wp-content/plugins/js_composer/assets/lib/bower/chartjs/Chart.min.js

Dependency Hierarchy: - :x: **Chart-1.0.2.min.js** (Vulnerable Library)

Found in HEAD commit: 6464f631e15c1e1c888b6d505d934cf06ab4d0a2

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: chart.js - 2.9.4


Step up your Open Source Security Game with Mend here