VULNERABILITY INTELLIGENCE

CVE-2019-13173

CVSS score7.5 HIGH
EPSS probability2.42%
CISA KEVNot currently listed
Published2019-07-02
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Weakness classification

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Primary references