DWG61868 / dagger-browser

Simple tool for browsing Dagger graphs generated via an SPI plugin
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

CVE-2019-20149 (High) detected in kind-of-6.0.2.tgz #4

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

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

CVE-2019-20149 - High Severity Vulnerability

Vulnerable Library - kind-of-6.0.2.tgz

Get the native type of a value.

Library home page: https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz

Path to dependency file: /browser/package.json

Path to vulnerable library: /browser/node_modules/extglob/node_modules/kind-of/package.json,/browser/node_modules/sass-loader/node_modules/kind-of/package.json,/browser/node_modules/snapdragon-node/node_modules/kind-of/package.json,/browser/node_modules/base/node_modules/kind-of/package.json,/browser/node_modules/global-prefix/node_modules/kind-of/package.json,/browser/node_modules/micromatch/node_modules/kind-of/package.json,/browser/node_modules/define-property/node_modules/kind-of/package.json,/browser/node_modules/nanomatch/node_modules/kind-of/package.json

Dependency Hierarchy: - react-scripts-3.2.0.tgz (Root Library) - webpack-4.41.0.tgz - micromatch-3.1.10.tgz - :x: **kind-of-6.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: 1b365bcdf87aff79a6694987cd838c2895b3f081

Found in base branch: main

Vulnerability Details

ctorName in index.js in kind-of v6.0.2 allows external user input to overwrite certain internal attributes via a conflicting name, as demonstrated by 'constructor': {'name':'Symbol'}. Hence, a crafted payload can overwrite this builtin attribute to manipulate the type detection result.

Publish Date: 2019-12-30

URL: CVE-2019-20149

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: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2019-12-30

Fix Resolution (kind-of): 6.0.3

Direct dependency fix Resolution (react-scripts): 3.3.0


mend-for-github-com[bot] commented 1 month 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.

mend-for-github-com[bot] commented 1 month ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.