Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××.com, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200411-16 ] zip: Path name buffer overflow
Date: Tue, 09 Nov 2004 19:56:36
Message-Id: 200411092046.15772.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200411-16
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: zip: Path name buffer overflow
9 Date: November 09, 2004
10 Bugs: #70227
11 ID: 200411-16
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 zip contains a buffer overflow when creating a ZIP archive of files
19 with very long path names. This could lead to the execution of
20 arbitrary code.
21
22 Background
23 ==========
24
25 zip is a compression and file packaging utility.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 app-arch/zip <= 2.3-r3 >= 2.3-r4
34
35 Description
36 ===========
37
38 zip does not check the resulting path length when doing recursive
39 folder compression.
40
41 Impact
42 ======
43
44 An attacker could exploit this by enticing another user or web
45 application to create an archive including a specially-crafted path
46 name, potentially resulting in the execution of arbitrary code with the
47 permissions of the user running zip.
48
49 Workaround
50 ==========
51
52 There is no known workaround at this time.
53
54 Resolution
55 ==========
56
57 All zip users should upgrade to the latest version:
58
59 # emerge --sync
60 # emerge --ask --oneshot --verbose ">=app-arch/zip-2.3-r4"
61
62 References
63 ==========
64
65 [ 1 ] HexView zip Advisory
66 http://www.hexview.com/docs/20041103-1.txt
67
68 Availability
69 ============
70
71 This GLSA and any updates to it are available for viewing at
72 the Gentoo Security Website:
73
74 http://security.gentoo.org/glsa/glsa-200411-16.xml
75
76 Concerns?
77 =========
78
79 Security is a primary focus of Gentoo Linux and ensuring the
80 confidentiality and security of our users machines is of utmost
81 importance to us. Any security concerns should be addressed to
82 security@g.o or alternatively, you may file a bug at
83 http://bugs.gentoo.org.
84
85 License
86 =======
87
88 Copyright 2004 Gentoo Foundation, Inc; referenced text
89 belongs to its owner(s).
90
91 The contents of this document are licensed under the
92 Creative Commons - Attribution / Share Alike license.
93
94 http://creativecommons.org/licenses/by-sa/2.0