vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

CVE-2022-0235 (Medium) detected in multiple libraries #130

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

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

CVE-2022-0235 - Medium Severity Vulnerability

Vulnerable Libraries - node-fetch-1.7.3.tgz, node-fetch-2.6.1.tgz, node-fetch-2.1.2.tgz, node-fetch-2.6.5.tgz

node-fetch-1.7.3.tgz

A light-weight module that brings window.fetch to node.js and io.js

Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz

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

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

Dependency Hierarchy: - plugins-0.0.16.tgz (Root Library) - contracts-0.0.2-alpha.14.tgz - ganache-core-2.13.1.tgz - web3-provider-engine-14.2.1.tgz - eth-json-rpc-infura-3.2.1.tgz - eth-json-rpc-middleware-1.6.0.tgz - fetch-ponyfill-4.1.0.tgz - :x: **node-fetch-1.7.3.tgz** (Vulnerable Library)

node-fetch-2.6.1.tgz

A light-weight module that brings window.fetch to node.js

Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz

Dependency Hierarchy: - :x: **node-fetch-2.6.1.tgz** (Vulnerable Library)

node-fetch-2.1.2.tgz

A light-weight module that brings window.fetch to node.js

Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-2.1.2.tgz

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

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

Dependency Hierarchy: - plugins-0.0.16.tgz (Root Library) - contracts-0.0.2-alpha.14.tgz - ganache-core-2.13.1.tgz - web3-provider-engine-14.2.1.tgz - cross-fetch-2.2.3.tgz - :x: **node-fetch-2.1.2.tgz** (Vulnerable Library)

node-fetch-2.6.5.tgz

A light-weight module that brings window.fetch to node.js

Library home page: https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.5.tgz

Path to dependency file: /utility-emissions-channel/typescript_app/package.json

Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/serverless/node_modules/node-fetch/package.json,/utility-emissions-channel/typescript_app/node_modules/@serverless/dashboard-plugin/node_modules/node-fetch/package.json

Dependency Hierarchy: - serverless-2.61.0.tgz (Root Library) - :x: **node-fetch-2.6.5.tgz** (Vulnerable Library)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

Vulnerability Details

node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor

Publish Date: 2022-01-16

URL: CVE-2022-0235

CVSS 3 Score Details (6.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-r683-j2x4-v87g

Release Date: 2022-01-16

Fix Resolution (node-fetch): 2.6.7

Direct dependency fix Resolution (serverless): 2.62.0-62642964


Step up your Open Source Security Game with Mend here