Skip to content
Fencer Vulns
high 7.5

CVE-2019-13173 json

Arbitrary File Overwrite in fstream

published 2019-05-30 7 y ago modified 2026-06-17 4 mo ago also GHSA-xf7w-r453-m56c , EUVD-2019-0484

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.4%
EPSS 2.4% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm fstream 1.0.12
  • fstream_project fstream 1.0.12
  • node-fstream Debian 13, Debian 12 1.0.12-1

debian advisories DEBIAN-CVE-2019-13173

  • node-fstream Ubuntu 18.04 LTS 1.0.10-1ubuntu0.18.04.1
  • node-fstream Ubuntu Pro 14.04 LTS 0.1.24-1ubuntu0.14.04.1~esm1
  • node-fstream Ubuntu Pro 16.04 LTS 0.1.24-1ubuntu0.16.04.1~esm1

ubuntu advisories UBUNTU-CVE-2019-13173

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • nodejs12 SLE Module for Web and Scripting 12 12.13.0-1.3.1
  • nodejs6 SLE Module for Web and Scripting 12, OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 +2 more 6.17.0-11.27.1
  • nodejs10 SLE Module for Web and Scripting 15 SP1, SLE Module for Web and Scripting 15, SLE Module for Web and Scripting 12 10.16.0-1.9.1
  • nodejs4 SLE Module for Web and Scripting 12, Enterprise Storage 4 4.9.1-15.23.1
  • nodejs8 SLE Module for Web and Scripting 15 SP1, SLE Module for Web and Scripting 15 8.15.1-3.17.1
  • firefox-atk SLES 11 SP4-LTSS 2.26.1-2.8.4
  • mozilla-nss SLES 11 SP4-LTSS 3.45-38.9.3
  • firefox-gtk3 SLES 11 SP4-LTSS 3.10.9-2.15.3

suse advisories SUSE-SU-2019:14246-1SUSE-SU-2020:0059-1SUSE-SU-2019:2181-1SUSE-SU-2019:2099-1SUSE-SU-2019:2081-1SUSE-SU-2019:2078-1

  • nodejs8 openSUSE Leap 15.1, openSUSE Leap 15.0 8.15.1-lp151.2.3.1
  • nodejs10 openSUSE Leap 15.1 10.16.0-lp151.2.3.1

opensuse advisories openSUSE-SU-2019:1907-1openSUSE-SU-2019:1846-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-13173 updated cvss 7.3

nodejs-fstream: File overwrite in fstream.DirWriter() function

  • Red Hat Mobile Application Platform 4 nodejs-fstream
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 3.11 kibana Red Hat OpenShift Container Platform 4 kibana Red Hat Software Collections rh-nodejs8-npm, rh-nodejs8-nodejs
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat Software Collections rh-nodejs10-npm, rh-nodejs10-nodejs Red Hat Virtualization 4 ovirt-engine-dashboard, ovirt-engine-api-explorer
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.42% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P
GitHub 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
npm fstream
<1.0.12
1.0.12

Classification

Weakness
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.