CVE-2019-13173
mediumpriority · track · 31EPSS 0.024 · 84 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.4–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (17)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-xf7w-r453-m56cArbitrary File Overwrite in fstream2019-05-30ghsa · osvUS
Versions of `fstream` prior to 1.0.12 are 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. ## Recommendation Upgrade to version 1.0.12 or later.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (29)
External citations — patches, advisories, analysis.
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.htmlcnnvd
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.htmlcnnvd
- https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-13173cnnvd
- https://usn.ubuntu.com/4123-1/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.2944/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.3007.3/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2019.3007/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan