Lucene search

K
nodejsMax JusticzNODEJS:886
HistoryMay 15, 2019 - 2:22 p.m.

Arbitrary File Overwrite

2019-05-1514:22:26
Max Justicz
www.npmjs.com
12

EPSS

0.002

Percentile

62.2%

Overview

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.

References