Arbitrary File Overwrite in fstream
High severity
GitHub Reviewed
Published
May 30, 2019
to the GitHub Advisory Database
•
Updated Nov 29, 2023
Description
Reviewed
May 30, 2019
Published to the GitHub Advisory Database
May 30, 2019
Last updated
Nov 29, 2023
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. Thefstream.DirWriter()
function is vulnerable.Recommendation
Upgrade to version 1.0.12 or later.
References