CVEvulnerability
CVE-2019-13173
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-07-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 6.4 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:P
- Weaknesses
- CWE-59
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.
Affected configurations
• fstream project fstream (< 1.0.12)
Related
Weakness · CWE (1)
- CWE-59 Improper Link Resolution Before File Access weakness
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html lists.opensuse.org
- https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22 Patch, Third Party Advisory
- https://usn.ubuntu.com/4123-1/ usn.ubuntu.com
- https://www.npmjs.com/advisories/886 Patch, Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html lists.opensuse.org
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html lists.opensuse.org
- https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22 Patch, Third Party Advisory
- https://usn.ubuntu.com/4123-1/ usn.ubuntu.com
- https://www.npmjs.com/advisories/886 Patch, Vendor Advisory