{"id":"CVE-2019-13173","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2019-07-02T19:26:05.000Z","updatedAt":"2024-08-04T23:41:10.702Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.npmjs.com/advisories/886","https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html","http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html","https://usn.ubuntu.com/4123-1/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:27.952Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/13xxx/CVE-2019-13173.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-13173","state":"PUBLISHED","datePublished":"2019-07-02T19:26:05.000Z","dateUpdated":"2024-08-04T23:41:10.702Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-07-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.npmjs.com/advisories/886","tags":["x_refsource_MISC"]},{"url":"https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html","name":"openSUSE-SU-2019:1846","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html","name":"openSUSE-SU-2019:1907","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/4123-1/","name":"USN-4123-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-09-05T14:06:09.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-13173","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.npmjs.com/advisories/886","refsource":"MISC","url":"https://www.npmjs.com/advisories/886"},{"name":"https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22","refsource":"MISC","url":"https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22"},{"name":"openSUSE-SU-2019:1846","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html"},{"name":"openSUSE-SU-2019:1907","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html"},{"name":"USN-4123-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4123-1/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.npmjs.com/advisories/886","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html","name":"openSUSE-SU-2019:1846","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html","name":"openSUSE-SU-2019:1907","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://usn.ubuntu.com/4123-1/","name":"USN-4123-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T23:41:10.702Z"}}]}}}