Skip to content

WS-2019-0047 Medium Severity Vulnerability detected by WhiteSource #45

Description

@mend-bolt-for-github

WS-2019-0047 - Medium Severity Vulnerability

Vulnerable Libraries - tar-2.2.1.tgz, tar-4.4.1.tgz

tar-2.2.1.tgz

tar for node

Library home page: http://registry.npmjs.org/tar/-/tar-2.2.1.tgz

Path to dependency file: /IntranetNew/WebUI/ClientApp/package.json

Path to vulnerable library: /tmp/git/IntranetNew/WebUI/ClientApp/node_modules/tar/package.json

Dependency Hierarchy:

  • node-sass-4.9.0.tgz (Root Library)
    • node-gyp-3.6.2.tgz
      • ❌ tar-2.2.1.tgz (Vulnerable Library)
tar-4.4.1.tgz

tar for node

Library home page: https://registry.npmjs.org/tar/-/tar-4.4.1.tgz

Dependency Hierarchy:

  • cli-1.7.0.tgz (Root Library)
    • webpack-dev-server-2.11.1.tgz
      • chokidar-2.0.2.tgz
        • fsevents-1.2.3.tgz
          • node-pre-gyp-0.9.1.tgz
            • ❌ tar-4.4.1.tgz (Vulnerable Library)

Found in HEAD commit: 7ac996f404ac718dfc1a6ce045f26d7c26c16c9b

Vulnerability Details

Versions of node-tar prior to 4.4.2 are vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system, and a file that matches the hardlink will overwrite the system's file with the contents of the extracted file.

Publish Date: 2019-04-05

URL: WS-2019-0047

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/803

Release Date: 2019-04-05

Fix Resolution: 4.4.2


Step up your Open Source Security Game with WhiteSource here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions