CVE-2019-13173

Priority
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.
Ubuntu-Description
It was discovered that npm/fstream incorrectly handled certain crafted
tarballs. An attacker could use this vulnerability to write aritrary files to
the filesystem.
Notes
 ebarretto> According to a Github comment, the fix might not be enough.
Package
Upstream:released (1.0.12-1)
Ubuntu 12.04 ESM (Precise Pangolin):DNE
Ubuntu 14.04 ESM (Trusty Tahr):needed
Ubuntu 16.04 LTS (Xenial Xerus):needed
Ubuntu 18.04 LTS (Bionic Beaver):released (1.0.10-1ubuntu0.18.04.1)
Ubuntu 19.04 (Disco Dingo):released (1.0.10-1ubuntu0.19.04.2)
Ubuntu 19.10 (Eoan):released (1.0.12-1)
More Information

Updated: 2019-09-19 14:51:22 UTC (commit d32ebc32606b9517c6fa7d65a15441e2a57a6de5)