vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

CVE-2020-7774 (High) detected in y18n-3.2.1.tgz, y18n-4.0.0.tgz #82

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

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

CVE-2020-7774 - High Severity Vulnerability

Vulnerable Libraries - y18n-3.2.1.tgz, y18n-4.0.0.tgz

y18n-3.2.1.tgz

the bare-bones internationalization library used by yargs

Library home page: https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz

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: **y18n-3.2.1.tgz** (Vulnerable Library)

y18n-4.0.0.tgz

the bare-bones internationalization library used by yargs

Library home page: https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz

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

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

Dependency Hierarchy: - solidity-coverage-0.7.13.tgz (Root Library) - ganache-cli-6.12.1.tgz - yargs-13.2.4.tgz - :x: **y18n-4.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

Vulnerability Details

The package y18n before 3.2.2, 4.0.1 and 5.0.5, is vulnerable to Prototype Pollution.

Publish Date: 2020-11-17

URL: CVE-2020-7774

CVSS 3 Score Details (7.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - 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

Origin: https://www.npmjs.com/advisories/1654

Release Date: 2020-11-17

Fix Resolution (y18n): 3.2.2

Direct dependency fix Resolution (ethereum-waffle): 3.2.2

Fix Resolution (y18n): 3.2.2

Direct dependency fix Resolution (solidity-coverage): 0.7.14


Step up your Open Source Security Game with Mend here