{"id":"CVE-2019-13173","details":"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.","aliases":["GHSA-xf7w-r453-m56c"],"modified":"2026-03-15T14:33:16.920218Z","published":"2019-07-02T20:15:11.823Z","related":["SUSE-SU-2019:14246-1","SUSE-SU-2019:2055-1","SUSE-SU-2019:2078-1","SUSE-SU-2019:2081-1","SUSE-SU-2019:2099-1","SUSE-SU-2019:2181-1","SUSE-SU-2020:0059-1","openSUSE-SU-2019:1846-1","openSUSE-SU-2019:1907-1"],"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html"},{"type":"WEB","url":"https://usn.ubuntu.com/4123-1/"},{"type":"FIX","url":"https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22"},{"type":"FIX","url":"https://www.npmjs.com/advisories/886"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/npm/fstream","events":[{"introduced":"0"},{"fixed":"42354590e23bb514eb5c869eea64406be2947c6c"},{"fixed":"6a77d2fa6e1462693cf8e46f930da96ec1b0bb22"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.0.12"}]}}],"versions":["0.0.1","0.1.0","0.1.1","0.1.10","0.1.11","0.1.12","0.1.13","0.1.14","0.1.15","0.1.16","0.1.17","0.1.18","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","v0.1.19","v0.1.20","v0.1.21","v0.1.22","v0.1.23","v0.1.24","v0.1.25","v0.1.26","v0.1.27","v0.1.28","v0.1.29","v0.1.30","v1.0.0","v1.0.1","v1.0.10","v1.0.11","v1.0.2","v1.0.3","v1.0.4","v1.0.5","v1.0.6","v1.0.7","v1.0.8","v1.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13173.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}