Gentoo Logo

Archive::Tar: Directory traversal vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200812-10 / Archive-Tar
Release Date December 10, 2008
Latest Revision December 10, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
perl-core/Archive-Tar < 1.40 >= 1.40 All supported architectures

Related bugreports: #192989


A directory traversal vulnerability has been discovered in Archive::Tar.

2.  Impact Information


Archive::Tar is a Perl module for creation and manipulation of tar files.


Jonathan Smith of rPath reported that Archive::Tar does not check for ".." in file names.


A remote attacker could entice a user or automated system to extract a specially crafted tar archive, overwriting files at arbitrary locations outside of the specified directory.

3.  Resolution Information


There is no known workaround at this time.


All Archive::Tar users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=perl-core/Archive-Tar-1.40"

4.  References


Page updated December 10, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.