GHSA-xf7w-r453-m56cHighCVSS 7.5

Arbitrary File Overwrite in fstream

Published
May 30, 2019
Last Modified
February 12, 2025

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • npm/fstream:< 1.0.12

🔗 References (7)