Gentoo Logo

Archive::Tar: Directory traversal vulnerability

Content:

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

Synopsis

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

2.  Impact Information

Background

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

Description

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

Impact

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

Workaround

There is no known workaround at this time.

Resolution

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



Print

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-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.