CVE-2019-13173

high

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.

References

https://www.npmjs.com/advisories/886

https://usn.ubuntu.com/4123-1/

https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22

http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00052.html

http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00010.html

Details

Source: Mitre, NVD

Published: 2019-07-02

Updated: 2020-08-24

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Severity: High