DEV-REPO-URIEL / TEST_AINAT_CHANGE

0 stars 1 forks source link

chart.js-2.9.3.tgz: 1 vulnerabilities (highest severity is: 9.8) - autoclosed #19

Closed dev-mend-for-github-com[bot] closed 7 months ago

dev-mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - chart.js-2.9.3.tgz

Simple HTML5 charts using the canvas element.

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

Path to dependency file: /package.json

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

Found in HEAD commit: 1855a834302dd3f0182c78b12ce583c7af3a2921

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (chart.js version) Fix PR available
CVE-2020-7746 Critical 9.8 chart.js-2.9.3.tgz Direct 2.9.4

Details

CVE-2020-7746 ### Vulnerable Library - chart.js-2.9.3.tgz

Simple HTML5 charts using the canvas element.

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

Path to dependency file: /package.json

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

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

Found in HEAD commit: 1855a834302dd3f0182c78b12ce583c7af3a2921

Found in base branch: main

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

Direct dependency fix Resolution (chart.js): 2.9.4

:rescue_worker_helmet: Automatic Remediation is available for this issue

:rescue_worker_helmet: Automatic Remediation is available for this issue.

dev-mend-for-github-com[bot] commented 7 months ago

:heavy_check_mark: 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.