Vulnerability Details : CVE-2019-13173
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.
Products affected by CVE-2019-13173
- cpe:2.3:a:fstream_project:fstream:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-13173
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 62 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-13173
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.4
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:P |
10.0
|
4.9
|
NIST | |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2019-13173
-
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-13173
-
https://www.npmjs.com/advisories/886
npmPatch;Vendor Advisory
-
https://usn.ubuntu.com/4123-1/
USN-4123-1: npm/fstream vulnerability | Ubuntu security notices
-
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html
[security-announce] openSUSE-SU-2019:1907-1: important: Security update
-
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html
[security-announce] openSUSE-SU-2019:1846-1: important: Security update
-
https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22
Clobber a Link if it's in the way of a File · npm/fstream@6a77d2f · GitHubPatch;Third Party Advisory
Jump to