- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200710-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Low
     Title: Star: Directory traversal vulnerability
      Date: October 22, 2007
      Bugs: #189690
        ID: 200710-23

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

Synopsis
========

A directory traversal vulnerability has been discovered in Star.

Background
==========

The Star program provides the ability to create and extract tar
archives.

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

-------------------------------------------------------------------
     Package        /    Vulnerable    /                    Unaffected
    -------------------------------------------------------------------
  1  app-arch/star      < 1.5_alpha84                   >= 1.5_alpha84

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

Robert Buchholz of the Gentoo Security team discovered a directory
traversal vulnerability in the has_dotdot() function which does not
identify //.. (slash slash dot dot) sequences in file names inside tar
files.

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 Star.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Star users should upgrade to the latest version:

# emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/star-1.5_alpha84"

References
==========

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

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

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

http://security.gentoo.org/glsa/glsa-200710-23.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 (at) gentoo (dot) org [email concealed] 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iQEVAwUBRx0YRjvRww8BFPxFAQI/kAf/eyCnCuB5jcUpWoivk4yiK718Gddh9IPK
RrRjJfSBBLEHfqGWzVgr9eUCwOICgCYIQ+6AwkZfk6jV0ho2Vz6uxx4wulkhY5p0
xM1VQLgcoSH0NDWAgRiQdQ5ocKFHAPn1MhWqWyWCKaQFWS+VyivZgXLF4XdgUe8T
RHpFAQmuB1UrgX9YxEAjnE5n50qB1ipDWwEhGQN2MFkR7+GgncYijEM01rRdX0iY
EdYLVNXRFYg/MoW4e9RCWRY8Bl/1tdq5t35hYKvgCbbc3gn2OB9xo4G1LGX2DITs
yHajdMWAyitoH6SyENt31DqeUmNPB5QpoRF0I2KVQ9LGm58g2zfhVA==
=SNvh
-----END PGP SIGNATURE-----