Gentoo Logo

Star: Directory traversal vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-23 / star
Release Date October 22, 2007
Latest Revision October 22, 2007: 01
Impact low
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/star < 1.5_alpha84 >= 1.5_alpha84 All supported architectures

Related bugreports: #189690


A directory traversal vulnerability has been discovered in Star.

2.  Impact Information


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


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.


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.

3.  Resolution Information


There is no known workaround at this time.


All Star users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated October 22, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.