turkdevops / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
1 stars 0 forks source link

CVE-2022-0235 (Medium) detected in node-fetch-2.6.1.tgz, node-fetch-2.6.0.tgz #360

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-2.6.1.tgz, node-fetch-2.6.0.tgz

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

Path to dependency file: /build/package.json

Path to vulnerable library: /build/package.json

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

node-fetch-2.6.0.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.0.tgz

Path to dependency file: /extensions/microsoft-authentication/package.json

Path to vulnerable library: /extensions/microsoft-authentication/package.json,/extensions/github-authentication/package.json,/extensions/github/package.json

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

Found in base branch: webview-views

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 (@azure/cosmos): 3.4.1


Step up your Open Source Security Game with Mend here