iamkishan98 / E-voting-using-blockchain

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

CVE-2021-3918 (Critical) detected in json-schema-0.2.3.tgz #322

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

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

CVE-2021-3918 - Critical Severity Vulnerability

Vulnerable Library - json-schema-0.2.3.tgz

JSON Schema validation and specifications

Library home page: https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz

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

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

Dependency Hierarchy: - phantomjs-prebuilt-2.1.16.tgz (Root Library) - request-2.88.0.tgz - http-signature-1.2.0.tgz - jsprim-1.4.1.tgz - :x: **json-schema-0.2.3.tgz** (Vulnerable Library)

Found in HEAD commit: 3c02898f89d78283ce791eb1b53b2b5a667681ad

Found in base branch: master

Vulnerability Details

json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Publish Date: 2021-11-13

URL: CVE-2021-3918

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://nvd.nist.gov/vuln/detail/CVE-2021-3918

Release Date: 2021-11-13

Fix Resolution: json-schema - 0.4.0


Step up your Open Source Security Game with Mend here