iamkishan98 / E-voting-using-blockchain

Decentralized online vorting application built with blockchain
2 stars 0 forks source link

CVE-2020-7774 (Critical) detected in y18n-3.2.1.tgz, y18n-4.0.0.tgz #329

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago

CVE-2020-7774 - Critical 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

Path to dependency file: /E-voting-using-blockchain/evoting app/src/bower_components/bootstrap-daterangepicker/package.json

Path to vulnerable library: /evoting app/src/bower_components/bootstrap-daterangepicker/node_modules/y18n/package.json,/evoting app/src/bower_components/bootstrap-daterangepicker/node_modules/y18n/package.json,/evoting app/src/bower_components/bootstrap-daterangepicker/node_modules/y18n/package.json

Dependency Hierarchy: - node-sass-4.12.0.tgz (Root Library) - sass-graph-2.2.4.tgz - yargs-7.1.0.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: /E-voting-using-blockchain/evoting app/src/bower_components/bootstrap/package.json

Path to vulnerable library: /evoting app/src/bower_components/select2/node_modules/y18n/package.json,/evoting app/src/bower_components/select2/node_modules/y18n/package.json,/evoting app/src/bower_components/select2/node_modules/y18n/package.json

Dependency Hierarchy: - grunt-0.3.17.tgz (Root Library) - nodeunit-0.7.4.tgz - tap-14.2.2.tgz - nyc-14.1.1.tgz - yargs-13.2.4.tgz - :x: **y18n-4.0.0.tgz** (Vulnerable Library)

Found in HEAD commit: 3c02898f89d78283ce791eb1b53b2b5a667681ad

Found in base branch: master

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 (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://www.npmjs.com/advisories/1654

Release Date: 2020-11-17

Fix Resolution (y18n): 3.2.2

Direct dependency fix Resolution (node-sass): 4.13.0

Fix Resolution (y18n): 3.2.2

Direct dependency fix Resolution (grunt): 0.4.0


Step up your Open Source Security Game with Mend here