GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Sat Sep 15, 2007 11:26 pm Post subject: [ GLSA 200709-09 ] GNU Tar: Directory traversal vulnerabilit |
|
|
Gentoo Linux Security Advisory
Title: GNU Tar: Directory traversal vulnerability (GLSA 200709-09)
Severity: normal
Exploitable: remote
Date: September 15, 2007
Bug(s): #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: app-arch/tar
Vulnerable: < 1.18-r2
Unaffected: >= 1.18-r2
Architectures: All supported architectures
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: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.18-r2" |
References
CVE-2007-4131 |
|