iamkishan98 / E-voting-using-blockchain

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

WS-2020-0342 (High) detected in is-my-json-valid-2.20.0.tgz #283

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

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

WS-2020-0342 - High Severity Vulnerability

Vulnerable Library - is-my-json-valid-2.20.0.tgz

A [JSONSchema](https://json-schema.org/) validator that uses code generation to be extremely fast.

Library home page: https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.20.0.tgz

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

Path to vulnerable library: /evoting app/src/bower_components/select2/node_modules/is-my-json-valid/package.json,/evoting app/src/bower_components/select2/node_modules/is-my-json-valid/package.json

Dependency Hierarchy: - grunt-mocha-0.4.15.tgz (Root Library) - grunt-lib-phantomjs-0.7.1.tgz - phantomjs-1.9.20.tgz - request-2.67.0.tgz - har-validator-2.0.6.tgz - :x: **is-my-json-valid-2.20.0.tgz** (Vulnerable Library)

Found in HEAD commit: 3c02898f89d78283ce791eb1b53b2b5a667681ad

Found in base branch: master

Vulnerability Details

Regular Expression Denial of Service (ReDoS) vulnerability was found in is-my-json-valid before 2.20.2 via the style format.

Publish Date: 2020-06-27

URL: WS-2020-0342

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-06-27

Fix Resolution (is-my-json-valid): 2.20.2

Direct dependency fix Resolution (grunt-mocha): 1.0.0


Step up your Open Source Security Game with Mend here