GLSA 200709-09 GNU Tar: Directory traversal vulnerability
Posted on: 09/16/2007 02:05 AM

A new security update has been released for Gentoo Linux - GNU Tar: Directory traversal vulnerability. Here the announcement:

Gentoo Linux Security Advisory GLSA 200709-09
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: GNU Tar: Directory traversal vulnerability
Date: September 15, 2007
Bugs: #189682
ID: 200709-09

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

Synopsis
========

A directory traversal vulnerability has been discovered in GNU Tar.

Background
==========

The GNU Tar program provides the ability to create tar archives, as
well as various other kinds of manipulation.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-arch/tar lt; 1.18-r2 gt;= 1.18-r2

Description
===========

Dmitry V. Levin discovered a directory traversal vulnerability in the
contains_dot_dot() function in file src/names.c.

Impact
======

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GNU Tar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose "gt;=app-arch/tar-1.18-r2"

References
==========

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

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

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

http://security.gentoo.org/glsa/glsa-200709-09.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@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2007 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



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200709_09_gnu_tar_directory_traversal_vulnerability.html)