Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mend-for-github-com bot opened this issue Jan 17, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Jan 17, 2022

CVE-2022-0235 - Medium Severity Vulnerability

Vulnerable Libraries - node-fetch-2.6.1.tgz, node-fetch-1.7.3.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: /client/package.json

Path to vulnerable library: /client/node_modules/@storybook/core-server/node_modules/node-fetch/package.json

Dependency Hierarchy:

  • addon-docs-6.2.5.tgz (Root Library)
    • core-6.2.5.tgz
      • core-server-6.2.5.tgz
        • node-fetch-2.6.1.tgz (Vulnerable Library)
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: /client/package.json

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

Dependency Hierarchy:

  • draft-js-0.10.5.tgz (Root Library)
    • fbjs-0.8.17.tgz
      • isomorphic-fetch-2.2.1.tgz
        • node-fetch-1.7.3.tgz (Vulnerable Library)

Found in HEAD commit: 81f8b3f5658022f994993a18a7653667705b7f6e

Found in base branch: master

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: GHSA-r683-j2x4-v87g

Release Date: 2022-01-16

Fix Resolution (node-fetch): 2.6.7

Direct dependency fix Resolution (@storybook/addon-docs): 6.2.6

Fix Resolution (node-fetch): 2.6.7

Direct dependency fix Resolution (draft-js): 0.11.7


⛑️ Automatic Remediation will be attempted for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants