Arbitrary File Overwrite Affecting fstream package, versions <1.0.12


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (63rd percentile)

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 IDSNYK-JS-FSTREAM-174725
  • published15 May 2019
  • disclosed15 May 2019
  • creditMax Justicz

Introduced: 15 May 2019

CVE-2019-13173  (opens in a new tab)
CWE-59  (opens in a new tab)

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.

CVSS Scores

version 3.1