CVE-2019-13173

NameCVE-2019-13173
Descriptionfstream 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs931408

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-fstream (PTS)bullseye1.0.12-4fixed
sid, trixie, bookworm1.0.12-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-fstreamsourcejessie(unfixed)end-of-life
node-fstreamsourcestretch1.0.10-1+deb9u1
node-fstreamsourcebuster1.0.10-1+deb10u1
node-fstreamsource(unstable)1.0.12-1931408

Notes

[jessie] - node-fstream <end-of-life> (Nodejs in jessie not covered by security support)
https://www.npmjs.com/advisories/886
https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22

Search for package or bug name: Reporting problems