Skip to content

CVE-2019-13173 (High) detected in fstream-1.0.11.tgz, fstream-0.1.31.tgz - autoclosed #51

Closed
@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2019-13173 - High Severity Vulnerability

Vulnerable Libraries - fstream-1.0.11.tgz, fstream-0.1.31.tgz

fstream-1.0.11.tgz

Advanced file system stream things

Library home page: https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz

Path to dependency file: /integration/injectable-def/package.json

Path to vulnerable library: /integration/injectable-def/node_modules/fstream/package.json,/integration/hello_world__systemjs_umd/node_modules/fstream/package.json,/integration/cli-hello-world/node_modules/fstream/package.json

Dependency Hierarchy:

  • @angular-devkit/build-angular@file:../../node_modules/-0.900.0-rc.11.tgz (Root Library)
    • webpack-4.41.2.tgz
      • watchpack-1.6.0.tgz
        • chokidar-2.0.3.tgz
          • fsevents-1.1.3.tgz
            • node-pre-gyp-0.6.39.tgz
              • tar-2.2.1.tgz
                • fstream-1.0.11.tgz (Vulnerable Library)
fstream-0.1.31.tgz

Advanced file system stream things

Library home page: https://registry.npmjs.org/fstream/-/fstream-0.1.31.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/fstream/package.json

Dependency Hierarchy:

  • browserstacktunnel-wrapper-2.0.3.tgz (Root Library)
    • unzip-0.1.11.tgz
      • fstream-0.1.31.tgz (Vulnerable Library)

Found in HEAD commit: c6aca37f442da8c55a02d7c53ccc58100ab004f3

Found in base branch: labs/router

Vulnerability Details

fstream before 1.0.12 is 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. The fstream.DirWriter() function is vulnerable.

Publish Date: 2019-07-02

URL: CVE-2019-13173

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-13173

Release Date: 2020-08-24

Fix Resolution (fstream): 1.0.12

Direct dependency fix Resolution (browserstacktunnel-wrapper): 2.0.4


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions