iamkishan98 / E-voting-using-blockchain

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

CVE-2017-20162 (Medium) detected in multiple libraries #290

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2017-20162 - Medium Severity Vulnerability

Vulnerable Libraries - ms-0.7.1.tgz, ms-0.7.2.tgz, ms-0.6.2.tgz

ms-0.7.1.tgz

Tiny ms conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.7.1.tgz

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

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

Dependency Hierarchy: - grunt-contrib-connect-0.9.0.tgz (Root Library) - connect-2.30.2.tgz - connect-timeout-1.6.2.tgz - :x: **ms-0.7.1.tgz** (Vulnerable Library)

ms-0.7.2.tgz

Tiny milisecond conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.7.2.tgz

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

Path to vulnerable library: /evoting app/src/bower_components/chart.js/node_modules/serve-favicon/node_modules/ms/package.json,/evoting app/src/bower_components/chart.js/node_modules/serve-favicon/node_modules/ms/package.json

Dependency Hierarchy: - grunt-contrib-connect-0.9.0.tgz (Root Library) - connect-2.30.2.tgz - serve-favicon-2.3.2.tgz - :x: **ms-0.7.2.tgz** (Vulnerable Library)

ms-0.6.2.tgz

Tiny ms conversion utility

Library home page: https://registry.npmjs.org/ms/-/ms-0.6.2.tgz

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

Path to vulnerable library: /evoting app/src/bower_components/morris.js/node_modules/ms/package.json

Dependency Hierarchy: - grunt-mocha-0.4.15.tgz (Root Library) - mocha-1.21.5.tgz - debug-2.0.0.tgz - :x: **ms-0.6.2.tgz** (Vulnerable Library)

Found in HEAD commit: 3c02898f89d78283ce791eb1b53b2b5a667681ad

Found in base branch: master

Vulnerability Details

A vulnerability, which was classified as problematic, has been found in vercel ms up to 1.x. This issue affects the function parse of the file index.js. The manipulation of the argument str leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The patch is named caae2988ba2a37765d055c4eee63d383320ee662. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217451.

Publish Date: 2023-01-05

URL: CVE-2017-20162

CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2023-01-05

Fix Resolution (ms): 2.0.0

Direct dependency fix Resolution (grunt-contrib-connect): 0.11.0

Fix Resolution (ms): 2.0.0

Direct dependency fix Resolution (grunt-contrib-connect): 0.11.0

Fix Resolution (ms): 2.0.0

Direct dependency fix Resolution (grunt-mocha): 1.0.3


Step up your Open Source Security Game with Mend here