Live threats

All CVEs / Fstream Project

CVE-2019-13173Fstream Project Fstream

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Jul 2, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fstream.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm fstream < 1.0.12 1.0.12 npm install fstream@1.0.12

Per OSV / GitHub Advisories (GHSA-xf7w-r453-m56c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fstream_projectfstream< 1.0.12

Official sources

References

Links published by the sources. Open them with care.