Skip to content

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

@mend-for-github-com

Description

@mend-for-github-com

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

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

Dependency Hierarchy:

  • react-native-0.62.2.tgz (Root Library)
    • cli-4.14.0.tgz
      • cli-tools-4.13.0.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: /package.json

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

Dependency Hierarchy:

  • react-native-0.62.2.tgz (Root Library)
    • fbjs-1.0.0.tgz
      • isomorphic-fetch-2.2.1.tgz
        • node-fetch-1.7.3.tgz (Vulnerable Library)

Found in HEAD commit: 476340fbc1766e8404baed64a296582b7588a7b0

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,3.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions