Star: Directory traversal vulnerability — GLSA 200710-23

A directory traversal vulnerability has been discovered in Star.

Affected packages

app-arch/star on all architectures
Affected versions < 1.5_alpha84
Unaffected versions >= 1.5_alpha84

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.

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

Release date
October 22, 2007

Latest revision
October 22, 2007: 01

Severity
low

Exploitable
remote

Bugzilla entries