CVE-2019-13173
HIGH 7.5CVSS 3.0Arbitrary File Overwrite in fstream
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.
- Published
- 2 Jul 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-59
- Also known as
- GHSA-xf7w-r453-m56c
- Sources
- NVDJSONOSV GHSA-xf7w-r453-m56cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fstream_project | fstreamcpe:2.3:a:fstream_project:fstream:*:*:*:*:*:node.js:*:* |
< 1.0.12 | 1.0.12 |
| OSV | npm | fstream | < 1.0.12 | 1.0.12 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html · WEB
- https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22 · Patch, Third Party Advisory, WEB
- https://usn.ubuntu.com/4123-1/ · WEB
- https://www.npmjs.com/advisories/886 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-13173 · ADVISORY
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 2 Jul 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 May 2019)