<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200812-10 ] Archive::Tar: Directory traversal vulnerability



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200812-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Archive::Tar: Directory traversal vulnerability
      Date: December 10, 2008
      Bugs: #192989
        ID: 200812-10

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

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

Affected packages
=================

    -------------------------------------------------------------------
     Package                /  Vulnerable  /                Unaffected
    -------------------------------------------------------------------
  1  perl-core/Archive-Tar       < 1.40                        >= 1.40

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

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

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

References
==========

  [ 1 ] CVE-2007-4829
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4829

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200812-10.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

Attachment: signature.asc
Description: This is a digitally signed message part.