Gentoo Archives: gentoo-announce

From: Raphael Marichez <falco@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200709-09 ] GNU Tar: Directory traversal vulnerability
Date: Mon, 17 Sep 2007 19:41:50
Message-Id: 20070915222135.GB6268@falco.falcal.net
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200709-09
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: GNU Tar: Directory traversal vulnerability
9 Date: September 15, 2007
10 Bugs: #189682
11 ID: 200709-09
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A directory traversal vulnerability has been discovered in GNU Tar.
19
20 Background
21 ==========
22
23 The GNU Tar program provides the ability to create tar archives, as
24 well as various other kinds of manipulation.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 app-arch/tar < 1.18-r2 >= 1.18-r2
33
34 Description
35 ===========
36
37 Dmitry V. Levin discovered a directory traversal vulnerability in the
38 contains_dot_dot() function in file src/names.c.
39
40 Impact
41 ======
42
43 By enticing a user to extract a specially crafted tar archive, a remote
44 attacker could extract files to arbitrary locations outside of the
45 specified directory with the permissions of the user running GNU Tar.
46
47 Workaround
48 ==========
49
50 There is no known workaround at this time.
51
52 Resolution
53 ==========
54
55 All GNU Tar users should upgrade to the latest version:
56
57 # emerge --sync
58 # emerge --ask --oneshot --verbose ">=app-arch/tar-1.18-r2"
59
60 References
61 ==========
62
63 [ 1 ] CVE-2007-4131
64 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4131
65
66 Availability
67 ============
68
69 This GLSA and any updates to it are available for viewing at
70 the Gentoo Security Website:
71
72 http://security.gentoo.org/glsa/glsa-200709-09.xml
73
74 Concerns?
75 =========
76
77 Security is a primary focus of Gentoo Linux and ensuring the
78 confidentiality and security of our users machines is of utmost
79 importance to us. Any security concerns should be addressed to
80 security@g.o or alternatively, you may file a bug at
81 http://bugs.gentoo.org.
82
83 License
84 =======
85
86 Copyright 2007 Gentoo Foundation, Inc; referenced text
87 belongs to its owner(s).
88
89 The contents of this document are licensed under the
90 Creative Commons - Attribution / Share Alike license.
91
92 http://creativecommons.org/licenses/by-sa/2.5