<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200812-10">
  <title>Archive::Tar: Directory traversal vulnerability</title>
  <synopsis>
    A directory traversal vulnerability has been discovered in Archive::Tar.
  </synopsis>
  <product type="ebuild">Archive-Tar</product>
  <announced>2008-12-10</announced>
  <revised count="01">2008-12-10</revised>
  <bug>192989</bug>
  <access>remote</access>
  <affected>
    <package name="perl-core/Archive-Tar" auto="yes" arch="*">
      <unaffected range="ge">1.40</unaffected>
      <vulnerable range="lt">1.40</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Archive::Tar is a Perl module for creation and manipulation of tar
    files.
    </p>
  </background>
  <description>
    <p>
    Jonathan Smith of rPath reported that Archive::Tar does not check for
    ".." in file names.
    </p>
  </description>
  <impact type="normal">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Archive::Tar users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=perl-core/Archive-Tar-1.40"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4829">CVE-2007-4829</uri>
  </references>
  <metadata tag="requester" timestamp="2008-11-26T18:55:42Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2008-11-26T20:31:02Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-11-26T20:31:20Z">
    rbu
  </metadata>
</glsa>
