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 20.04 LTS (Focal Fossa):released (1.0.12-1)
Ubuntu 20.10 (Groovy Gorilla):released (1.0.12-1)
More Information

Updated: 2020-07-28 18:54:38 UTC (commit 7b6828437fde0509248708fcdb5b0f7587b85bd1)