CVE-2019-13173
Fstream Project Fstream vulnerability
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 products
Fstream. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Fstream Project Fstream runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.npmjs.com/advisories/886 · Patch
- github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22 · Patch
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html
- usn.ubuntu.com/4123-1/
- nvd.nist.gov/vuln/detail/CVE-2019-13173
- github.com/advisories/GHSA-xf7w-r453-m56c
- nvd.nist.gov/vuln/detail/CVE-2019-13173
- cve.org/CVERecord?id=CVE-2019-13173
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.