GLSA 200709-09: GNU Tar: Directory traversal vulnerability
Severity: | normal |
Title: | GNU Tar: Directory traversal vulnerability |
Date: | 09/15/2007 |
Bugs: |
|
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 | Architecture(s) |
---|---|---|---|
app-arch/tar | < 1.18-r2 | >= 1.18-r2 | 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:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/tar-1.18-r2"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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 2010 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.