Gentoo Logo

Star: Directory traversal vulnerability

Content:

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

Synopsis

A directory traversal vulnerability has been discovered in Star.

2.  Impact Information

Background

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

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

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



Print

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-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.