GLSA-200709-09 : GNU Tar: Directory traversal vulnerability
Medium Nessus Plugin ID 26099
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-200709-09 (GNU Tar: Directory traversal vulnerability)
Dmitry V. Levin discovered a directory traversal vulnerability in the contains_dot_dot() function in file src/names.c.
By enticing a user to extract a specially crafted tar archive, a remote attacker could extract files to arbitrary locations outside of the specified directory with the permissions of the user running GNU Tar.
There is no known workaround at this time.
SolutionAll GNU Tar users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/tar-1.18-r2'