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
ebarrettoAccording 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.10 (Eoan Ermine):released (1.0.12-1)
Ubuntu 20.04 (Focal Fossa):released (1.0.12-1)
More Information

Updated: 2020-01-29 18:57:35 UTC (commit 40f18bf14da5fb50662e1f861ea594a462b207fe)