GLSA-200709-09 : GNU Tar: Directory traversal vulnerability

Medium Nessus Plugin ID 26099


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200709-09 (GNU Tar: Directory traversal vulnerability)

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.


All GNU Tar users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/tar-1.18-r2'

See Also

Plugin Details

Severity: Medium

ID: 26099

File Name: gentoo_GLSA-200709-09.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2007/09/24

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:tar, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2007/09/15

Vulnerability Publication Date: 2007/08/13

Reference Information

CVE: CVE-2007-4131

OSVDB: 38183

GLSA: 200709-09