CVE-2019-13173

HIGH

Fstream < 1.0.12 - Symlink Following

Title source: rule
STIX 2.1

Description

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.

References (5)

Core 5
Core References
Patch, Vendor Advisory x_refsource_misc
https://www.npmjs.com/advisories/886
Vendor Advisory vendor-advisory x_refsource_ubuntu
https://usn.ubuntu.com/4123-1/

Scores

CVSS v3 7.5
EPSS 0.0042
EPSS Percentile 62.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-59
Status published
Products (2)
fstream_project/fstream < 1.0.12
npm/fstream 0 - 1.0.12npm
Published Jul 02, 2019
Tracked Since Feb 18, 2026