Symlink Arbitrary File Overwrite in tar
High severity
GitHub Reviewed
Published
Oct 24, 2017
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Published to the GitHub Advisory Database
Oct 24, 2017
Reviewed
Jun 16, 2020
Last updated
Jan 9, 2023
Versions of
tar
prior to 2.0.0 are affected by an arbitrary file write vulnerability. The vulnerability occurs becausetar
does not verify that extracted symbolic links to not resolve to targets outside of the extraction root directory.Recommendation
Update to version 2.0.0 or later
References