wangsongc / mavonEditor

mavonEditor - A markdown editor based on Vue that supports a variety of personalized features
https://mavon-editor.originjs.org/
MIT License
0 stars 0 forks source link

CVE-2020-7608 (Medium) detected in yargs-parser-4.2.1.tgz, yargs-parser-9.0.2.tgz #47

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

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

CVE-2020-7608 - Medium Severity Vulnerability

Vulnerable Libraries - yargs-parser-4.2.1.tgz, yargs-parser-9.0.2.tgz

yargs-parser-4.2.1.tgz

the mighty option parser used by yargs

Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/yargs-parser/package.json

Dependency Hierarchy: - webpack-dev-server-2.11.5.tgz (Root Library) - yargs-6.6.0.tgz - :x: **yargs-parser-4.2.1.tgz** (Vulnerable Library)

yargs-parser-9.0.2.tgz

the mighty option parser used by yargs

Library home page: https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/yargs-parser/package.json

Dependency Hierarchy: - jest-23.6.0.tgz (Root Library) - jest-cli-23.6.0.tgz - yargs-11.1.1.tgz - :x: **yargs-parser-9.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: fb5f77da2e6a1abdc8035ddac751a729e7652710

Found in base branch: master

Vulnerability Details

yargs-parser could be tricked into adding or modifying properties of Object.prototype using a "__proto__" payload.

Publish Date: 2020-03-16

URL: CVE-2020-7608

CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-03-16

Fix Resolution (yargs-parser): 5.0.0-security.0

Direct dependency fix Resolution (webpack-dev-server): 3.0.0

Fix Resolution (yargs-parser): 5.0.0-security.0

Direct dependency fix Resolution (jest): 24.0.0


Step up your Open Source Security Game with Mend here