Every CVE Search/ Get API key

CVE-2019-13173

Arbitrary File Overwrite in fstream

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

2.42%Down 2.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2019-13173
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
6.4 MediumAV:N/AC:L/Au:N/C:N/I:P/A:P
Weakness
CWE-59
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-13173
Updated
2026-11-02
EUVDEUVD-2019-0484 No score

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.

Record
EUVD-2019-0484
Updated
2026-11-03
GitHub AdvisoriesGHSA-xf7w-r453-m56c 7.5

Arbitrary File Overwrite in fstream

Versions of fstream prior to 1.0.12 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. The fstream.DirWriter() function is vulnerable.

Recommendation

Upgrade to version 1.0.12 or later.

Record
GHSA-xf7w-r453-m56c
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-59
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2019-13173
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2019-13173 7.5

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.

Record
DEBIAN-CVE-2019-13173
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 16 moreShow less
OSVGHSA-xf7w-r453-m56c 7.5

Arbitrary File Overwrite in fstream

Versions of fstream prior to 1.0.12 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. The fstream.DirWriter() function is vulnerable.

Recommendation

Upgrade to version 1.0.12 or later.

Record
GHSA-xf7w-r453-m56c
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness
CWE-59
Updated
2026-11-02
OSVOESA-2022-1584 7.5

nodejs-fstream security update

Provides advanced file system stream objects for Node.js. These objects are like FS streams, but with stat on them, and support directories and symbolic links, as well as normal files. Also, you can use them to set the stats on a file, even if you don't change its contents, or to create a symlink, etc.

Security Fix(es):

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.(CVE-2019-13173)

Record
OESA-2022-1584
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVOESA-2022-2084 7.5

nodejs-fstream security update

Provides advanced file system stream objects for Node.js. These objects are like FS streams, but with stat on them, and support directories and symbolic links, as well as normal files. Also, you can use them to set the stats on a file, even if you don't change its contents, or to create a symlink, etc.

Security Fix(es):

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.(CVE-2019-13173)

Record
OESA-2022-2084
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2019-13173 7.5

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.

Record
UBUNTU-CVE-2019-13173
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVCLSA-2026-1773188137 No score

TuxCare security update for fstream (1 CVE)

TuxCare rebuilt fstream to address 1 CVE. Fixed in 1.0.8-tuxcare.3.

Record
CLSA-2026-1773188137
Updated
2026-11-02
OSVopenSUSE-SU-2019:1846-1 No score

Security update for nodejs10

This update for nodejs10 to version 10.16.0 fixes the following issues:

Security issue fixed:

  • CVE-2019-13173: Fixed a potential file overwrite via hardlink in fstream.DirWriter() (bsc#1140290).

Non-security issue fixed:

  • Update to new upstream LTS version 10.16.0, including npm version 6.9.0 and openssl version 1.1.1b (bsc#1134208).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:1846-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:1907-1 No score

Security update for nodejs8

This update for nodejs8 fixes the following issues:

Security issue fixed:

  • CVE-2019-13173: Fixed a potential file overwrite via hardlink in fstream.DirWriter() (bsc#1140290).

Non-security issue fixed:

  • Backported fixes for OpenSSL 1.1.1 from nodejs8 (bsc#1134209).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:1907-1
Updated
2026-11-02
OSVSUSE-SU-2019:14246-1 No score

Security update for Mozilla Firefox

This update contains the Mozilla Firefox ESR 68.2 release.

Mozilla Firefox was updated to ESR 68.2 release:

  • Enterprise: New administrative policies were added. More information and templates are available at the Policy Templates page.

  • Various security fixes: MFSA 2019-33 (bsc#1154738)

    • CVE-2019-15903: Heap overflow in expat library in XML_GetCurrentLineNumber
    • CVE-2019-11757: Use-after-free when creating index updates in IndexedDB
    • CVE-2019-11758: Potentially exploitable crash due to 360 Total Security
    • CVE-2019-11759: Stack buffer overflow in HKDF output
    • CVE-2019-11760: Stack buffer overflow in WebRTC networking
    • CVE-2019-11761: Unintended access to a privileged JSONView object
    • CVE-2019-11762: document.domain-based origin isolation has same-origin- property violation
    • CVE-2019-11763: Incorrect HTML parsing results in XSS bypass technique
    • CVE-2019-11764: Memory safety bugs fixed in Firefox 70 and Firefox ESR 68.2

Other Issues resolved:

  • [bsc#1104841] Newer versions of firefox have a dependency on GLIBCXX_3.4.20
  • [bsc#1074235] MozillaFirefox: background tab crash reports sent inadvertently without user opt-in
  • [bsc#1043008] Firefox hangs randomly when browsing and scrolling
  • [bsc#1025108] Firefox stops loading page until mouse is moved
  • [bsc#905528] Firefox malfunctions due to broken omni.ja archives
Record
SUSE-SU-2019:14246-1
Updated
2026-11-02
OSVSUSE-SU-2019:2055-1 No score

Security update for nodejs8

This update for nodejs8 fixes the following issues:

Security issue fixed:

  • CVE-2019-13173: Fixed a potential file overwrite via hardlink in fstream.DirWriter() (bsc#1140290).

Non-security issue fixed:

  • Backported fixes for OpenSSL 1.1.1 from nodejs8 (bsc#1134209).
Record
SUSE-SU-2019:2055-1
Updated
2026-11-02
OSVSUSE-SU-2019:2078-1 No score

Security update for nodejs4

This update for nodejs4 fixes the following issues:

  • CVE-2019-13173: Fixed a potential file overwrite via hardlink in fstream.DirWriter() (bsc#1140290).
Record
SUSE-SU-2019:2078-1
Updated
2026-11-02
OSVSUSE-SU-2019:2081-1 No score

Security update for nodejs10

This update for nodejs10 to version 10.16.0 fixes the following issues:

Security issue fixed:

  • CVE-2019-13173: Fixed a potential file overwrite via hardlink in fstream.DirWriter() (bsc#1140290).

Non-security issue fixed:

  • Update to new upstream LTS version 10.16.0, including npm version 6.9.0 and openssl version 1.1.1b (bsc#1134208).
Record
SUSE-SU-2019:2081-1
Updated
2026-11-02
OSVSUSE-SU-2019:2099-1 No score

Security update for nodejs10

This update for nodejs10 to version 10.16.0 fixes the following issues:

Security issue fixed:

  • CVE-2019-13173: Fixed a potential file overwrite via hardlink in fstream.DirWriter() (bsc#1140290).

Non-security issue fixed:

  • Update to new upstream LTS version 10.16.0, including npm version 6.9.0 and openssl version 1.1.1b (bsc#1134208).
Record
SUSE-SU-2019:2099-1
Updated
2026-11-02
OSVSUSE-SU-2019:2181-1 No score

Security update for nodejs6

This update for nodejs6 fixes the following issues:

  • CVE-2019-13173: Fixed a potential file overwrite via hardlink in fstream.DirWriter() (bsc#1140290).
Record
SUSE-SU-2019:2181-1
Updated
2026-11-02
OSVSUSE-SU-2020:0059-1 No score

Security update for nodejs12

This update for nodejs12 fixes the following issues:

Update to LTS release 12.13.0 (jsc#SLE-8947).

Security issues fixed:

  • CVE-2019-9511: Fixed the HTTP/2 implementation that was vulnerable to window size manipulations (bsc#1146091).
  • CVE-2019-9512: Fixed the HTTP/2 implementation that was vulnerable to floods using PING frames (bsc#1146099).
  • CVE-2019-9513: Fixed the HTTP/2 implementation that was vulnerable to resource loops, potentially leading to a denial of service (bsc#1146094).
  • CVE-2019-9514: Fixed the HTTP/2 implementation that was vulnerable to a reset flood, potentially leading to a denial of service (bsc#1146095).
  • CVE-2019-9515: Fixed the HTTP/2 implementation that was vulnerable to a SETTINGS frame flood (bsc#1146100).
  • CVE-2019-9516: Fixed the HTTP/2 implementation that was vulnerable to a header leak, potentially leading to a denial of service (bsc#1146090).
  • CVE-2019-9517: Fixed the HTTP/2 implementation that was vulnerable to unconstrained interal data buffering (bsc#1146097).
  • CVE-2019-9518: Fixed the HTTP/2 implementation that was vulnerable to a flood of empty frames, potentially leading to a denial of service (bsc#1146093).
  • CVE-2019-13173: Fixed a file overwrite in the fstream.DirWriter() function (bsc#1140290).
Record
SUSE-SU-2020:0059-1
Updated
2026-11-02
OSVUSN-4123-1 No score

npm/fstream vulnerability

It was discovered that npm/fstream incorrectly handled certain crafted tarballs. An attacker could use this vulnerability to write aritrary files to the filesystem.

Record
USN-4123-1
Updated
2026-11-02
OSVUSN-4863-1 No score

node-fstream vulnerability

It was discovered that fstream incorrectly handled certain crafted tarballs. An attacker could use this vulnerability to write arbitrary files to the filesystem.

Record
USN-4863-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
fstream
npm
before 1.0.12
1.0.12
fstream
TuxCare:npm
1.0.8-tuxcare.0 up to 1.0.8-tuxcare.3, plus listed versions
1.0.81.0.8-tuxcare.11.0.8-tuxcare.2
1.0.8-tuxcare.3
node-fstream
Debian:12
before 1.0.12-1
1.0.12-1
node-fstream
Debian:13
before 1.0.12-1
1.0.12-1
nodejs-fstream
openEuler:20.03-LTS-SP1
before 1.0.12-1.oe1
1.0.12-1.oe1
nodejs-fstream
openEuler:20.03-LTS-SP2
before 1.0.12-1.oe1
1.0.12-1.oe1
nodejs-fstream
openEuler:20.03-LTS-SP3
before 1.0.12-1.oe1
1.0.12-1.oe1
nodejs-fstream
openEuler:22.03-LTS
before 1.0.12-1.oe2203
1.0.12-1.oe2203
MozillaFirefox
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 68.2.0-78.51.4
68.2.0-78.51.4
MozillaFirefox-branding-SLED
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 68-21.9.8
68-21.9.8
Show 30 moreShow less
Affected packages
PackageAffectedFixed
firefox-atk
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 2.26.1-2.8.4
2.26.1-2.8.4
firefox-cairo
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 1.15.10-2.13.4
1.15.10-2.13.4
firefox-gdk-pixbuf
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 2.36.11-2.8.4
2.36.11-2.8.4
firefox-glib2
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 2.54.3-2.14.7
2.54.3-2.14.7
firefox-gtk3
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 3.10.9-2.15.3
3.10.9-2.15.3
firefox-harfbuzz
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 1.7.5-2.7.4
1.7.5-2.7.4
firefox-libffi
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 3.2.1.git259-2.3.3
3.2.1.git259-2.3.3
firefox-libffi-gcc5
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 5.3.1+r233831-14.1
5.3.1+r233831-14.1
firefox-pango
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 1.40.14-2.7.4
1.40.14-2.7.4
mozilla-nspr
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 4.21-29.6.1
4.21-29.6.1
mozilla-nss
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 118 CVEs
before 3.45-38.9.3
3.45-38.9.3
nodejs8
SUSE:Linux Enterprise Module for Web and Scripting 15
before 8.15.1-3.17.1
8.15.1-3.17.1
nodejs8
SUSE:Linux Enterprise Module for Web and Scripting 15 SP1
before 8.15.1-3.17.1
8.15.1-3.17.1
nodejs4
SUSE:Linux Enterprise Module for Web and Scripting 12
before 4.9.1-15.23.1
4.9.1-15.23.1
nodejs4
SUSE:Enterprise Storage 4
before 4.9.1-15.23.1
4.9.1-15.23.1
nodejs10
SUSE:Linux Enterprise Module for Web and Scripting 15
before 10.16.0-1.9.1
10.16.0-1.9.1
nodejs10
SUSE:Linux Enterprise Module for Web and Scripting 15 SP1
before 10.16.0-1.9.1
10.16.0-1.9.1
nodejs10
SUSE:Linux Enterprise Module for Web and Scripting 12
before 10.16.0-1.9.1
10.16.0-1.9.1
nodejs6
SUSE:OpenStack Cloud 7
before 6.17.0-11.27.1
6.17.0-11.27.1
nodejs6
SUSE:OpenStack Cloud Crowbar 8
before 6.17.0-11.27.1
6.17.0-11.27.1
nodejs6
SUSE:OpenStack Cloud Crowbar 9
before 6.17.0-11.27.1
6.17.0-11.27.1
nodejs6
SUSE:Linux Enterprise Module for Web and Scripting 12
before 6.17.0-11.27.1
6.17.0-11.27.1
nodejs6
SUSE:Enterprise Storage 4
before 6.17.0-11.27.1
6.17.0-11.27.1
nodejs12
SUSE:Linux Enterprise Module for Web and Scripting 12
From an advisory covering 9 CVEs
before 12.13.0-1.3.1
12.13.0-1.3.1
node-fstream
Ubuntu:Pro:14.04:LTS
before 0.1.24-1ubuntu0.14.04.1~esm1, plus listed versions
0.1.22-10.1.24-1
0.1.24-1ubuntu0.14.04.1~esm1
node-fstream
Ubuntu:Pro:16.04:LTS
before 0.1.24-1ubuntu0.16.04.1~esm1, plus listed versions
0.1.24-1
0.1.24-1ubuntu0.16.04.1~esm1
node-fstream
Ubuntu:18.04:LTS
before 1.0.10-1ubuntu0.18.04.1, plus listed versions
1.0.10-1
1.0.10-1ubuntu0.18.04.1
nodejs10
openSUSE:Leap 15.1
before 10.16.0-lp151.2.3.1
10.16.0-lp151.2.3.1
nodejs8
openSUSE:Leap 15.0
before 8.15.1-lp151.2.3.1
8.15.1-lp151.2.3.1
nodejs8
openSUSE:Leap 15.1
before 8.15.1-lp151.2.3.1
8.15.1-lp151.2.3.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-13173 is a high vulnerability (CVSS 7.5) in Fstream Project Fstream, published May 30, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.42%, the 84th percentile. Fixed in fstream 1.0.12.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 55 references. The JSON record has them.

MoveEnter Open