turkdevops / setup-node

Set up your GitHub Actions workflow with a specific version of node.js
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 #81

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: /toolkit/actions-github-0.0.0/package/package.json

Path to vulnerable library: /toolkit/actions-github-0.0.0/package/node_modules/node-fetch/package.json

Dependency Hierarchy: - graphql-2.1.3.tgz (Root Library) - request-5.4.14.tgz - :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: /package.json

Path to vulnerable library: /node_modules/node-fetch/package.json

Dependency Hierarchy: - @actions/github-0.0.0.tgz (Root Library) - graphql-2.1.3.tgz - request-5.0.2.tgz - :x: **node-fetch-2.6.0.tgz** (Vulnerable Library)

Found in base branch: auth-test

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 (@octokit/graphql): 2.3.0


Step up your Open Source Security Game with Mend here