impresscms-dev / phpdocs-wiki-update-action

Action that updates project wiki with automatic generated PHP project documentation on GitHub
MIT License
3 stars 2 forks source link

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

Closed mend-bolt-for-github[bot] closed 2 years ago

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

CVE-2022-0235 - Medium Severity Vulnerability

Vulnerable Libraries - node-fetch-2.1.2.tgz, node-fetch-2.6.0.tgz

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: /package.json

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

Dependency Hierarchy: - eslint-plugin-github-2.0.0.tgz (Root Library) - eslint-plugin-graphql-3.1.1.tgz - graphql-config-2.2.1.tgz - graphql-request-1.8.2.tgz - cross-fetch-2.2.2.tgz - :x: **node-fetch-2.1.2.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: - github-1.1.0.tgz (Root Library) - graphql-2.1.3.tgz - request-5.3.1.tgz - :x: **node-fetch-2.6.0.tgz** (Vulnerable Library)

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 (eslint-plugin-github): 4.0.0-0


Step up your Open Source Security Game with Mend here

MekDrop commented 2 years ago

This doesn't affect newer versions than 1.0.0. So won't fix..