Gentoo Archives: gentoo-announce

From: Sune Kloppenborg Jeppesen <jaervosz@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200505-05 ] gzip: Multiple vulnerabilities
Date: Mon, 09 May 2005 19:26:51
Message-Id: 200505092126.53193.jaervosz@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200505-05
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: gzip: Multiple vulnerabilities
9 Date: May 09, 2005
10 Bugs: #89946, #90626
11 ID: 200505-05
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 gzip contains multiple vulnerabilities potentially allowing an attacker
19 to execute arbitrary commands.
20
21 Background
22 ==========
23
24 gzip (GNU zip) is a popular compression program. The included zgrep
25 utility allows you to grep gzipped files in place.
26
27 Affected packages
28 =================
29
30 -------------------------------------------------------------------
31 Package / Vulnerable / Unaffected
32 -------------------------------------------------------------------
33 1 app-arch/gzip < 1.3.5-r6 >= 1.3.5-r6
34
35 Description
36 ===========
37
38 The gzip and gunzip programs are vulnerable to a race condition when
39 setting file permissions (CAN-2005-0988), as well as improper handling
40 of filename restoration (CAN-2005-1228). The zgrep utility improperly
41 sanitizes arguments, which may come from an untrusted source
42 (CAN-2005-0758).
43
44 Impact
45 ======
46
47 These vulnerabilities could allow arbitrary command execution, changing
48 the permissions of arbitrary files, and installation of files to an
49 aribitrary location in the filesystem.
50
51 Workaround
52 ==========
53
54 There is no known workaround at this time.
55
56 Resolution
57 ==========
58
59 All gzip users should upgrade to the latest stable version:
60
61 # emerge --sync
62 # emerge --ask --oneshot --verbose ">=app-arch/gzip-1.3.5-r6"
63
64 References
65 ==========
66
67 [ 1 ] CAN-2005-0758
68 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0758
69 [ 2 ] CAN-2005-0988
70 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0988
71 [ 3 ] CAN-2005-1228
72 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1228
73
74 Availability
75 ============
76
77 This GLSA and any updates to it are available for viewing at
78 the Gentoo Security Website:
79
80 http://security.gentoo.org/glsa/glsa-200505-05.xml
81
82 Concerns?
83 =========
84
85 Security is a primary focus of Gentoo Linux and ensuring the
86 confidentiality and security of our users machines is of utmost
87 importance to us. Any security concerns should be addressed to
88 security@g.o or alternatively, you may file a bug at
89 http://bugs.gentoo.org.
90
91 License
92 =======
93
94 Copyright 2005 Gentoo Foundation, Inc; referenced text
95 belongs to its owner(s).
96
97 The contents of this document are licensed under the
98 Creative Commons - Attribution / Share Alike license.
99
100 http://creativecommons.org/licenses/by-sa/2.0