Gentoo: GLSA-200709-09: GNU Tar: Directory traversal vulnerability
Summary
Gentoo Linux Security Advisory GLSA 200709-09
https://security.gentoo.org/
Severity: Normal
Title: GNU Tar: Directory traversal vulnerability
Date: September 15, 2007
Bugs: #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 / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-arch/tar < 1.18-r2 >= 1.18-r2
==========
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:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/tar-1.18-r2"
References
=========
[ 1 ] CVE-2007-4131
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4131
Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/200709-09
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@gentoo.org or alternatively, you may file a bug at
https://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.
https://creativecommons.org/licenses/by-sa/2.5/
Resolution
References
Availability
Concerns
![Dist Gentoo](/images/distros/dist-gentoo.png)