vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

CVE-2020-7608 (Medium) detected in multiple libraries #110

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-9.0.2.tgz, yargs-parser-2.4.1.tgz, yargs-parser-8.1.0.tgz

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: /utility-emissions-channel/chaincode/node/package.json

Path to vulnerable library: /utility-emissions-channel/chaincode/node/node_modules/nyc/node_modules/yargs/node_modules/yargs-parser/package.json

Dependency Hierarchy: - nyc-12.0.2.tgz (Root Library) - yargs-11.1.0.tgz - :x: **yargs-parser-9.0.2.tgz** (Vulnerable Library)

yargs-parser-2.4.1.tgz

the mighty option parser used by yargs

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

Path to dependency file: /net-emissions-token-network/package.json

Path to vulnerable library: /net-emissions-token-network/package.json

Dependency Hierarchy: - ethereum-waffle-3.2.1.tgz (Root Library) - provider-3.2.1.tgz - ens-3.2.1.tgz - ens-0.4.5.tgz - solc-0.4.26.tgz - yargs-4.8.1.tgz - :x: **yargs-parser-2.4.1.tgz** (Vulnerable Library)

yargs-parser-8.1.0.tgz

the mighty option parser used by yargs

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

Path to dependency file: /utility-emissions-channel/chaincode/node/package.json

Path to vulnerable library: /utility-emissions-channel/chaincode/node/node_modules/nyc/node_modules/yargs-parser/package.json

Dependency Hierarchy: - nyc-12.0.2.tgz (Root Library) - :x: **yargs-parser-8.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

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): 13.1.2

Direct dependency fix Resolution (nyc): 14.0.0

Fix Resolution (yargs-parser): 13.1.2

Direct dependency fix Resolution (ethereum-waffle): 3.2.2

Fix Resolution (yargs-parser): 13.1.2

Direct dependency fix Resolution (nyc): 14.0.0


Step up your Open Source Security Game with Mend here