Arbitrary File Overwrite Affecting fstream package, versions <1.0.12


0.0
high

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.17% (53rd percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
7.3 high
Expand this section
Red Hat
7.3 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-FSTREAM-174725
  • published 15 May 2019
  • disclosed 15 May 2019
  • credit Max Justicz

How to fix?

Upgrade fstream to version 1.0.12 or higher.

Overview

fstream is a package that supports advanced FS Streaming for Node.

Affected versions of this package 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.