Gentoo Archives: gentoo-announce

From: Thierry Carrez <koon@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××.com, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200410-08 ] ncompress: Buffer overflow
Date: Sat, 09 Oct 2004 18:27:34
Message-Id: 41682D50.8030708@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200410-08
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: ncompress: Buffer overflow
9 Date: October 09, 2004
10 Bugs: #66251
11 ID: 200410-08
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 compress and uncompress, which could be used by daemon programs,
19 contain a buffer overflow that could lead to remote execution of
20 arbitrary code with the rights of the daemon process.
21
22 Background
23 ==========
24
25 ncompress is a utility handling compression and decompression of
26 Lempel-Ziv archives, compatible with the original *nix compress and
27 uncompress utilities (.Z extensions).
28
29 Affected packages
30 =================
31
32 -------------------------------------------------------------------
33 Package / Vulnerable / Unaffected
34 -------------------------------------------------------------------
35 1 app-arch/ncompress <= 4.2.4 >= 4.2.4-r1
36
37 Description
38 ===========
39
40 compress and uncompress do not properly check bounds on command line
41 options, including the filename. Large parameters would trigger a
42 buffer overflow.
43
44 Impact
45 ======
46
47 By supplying a carefully crafted filename or other option, an attacker
48 could execute arbitrary code on the system. A local attacker could only
49 execute code with his own rights, but since compress and uncompress are
50 called by various daemon programs, this might also allow a remote
51 attacker to execute code with the rights of the daemon making use of
52 ncompress.
53
54 Workaround
55 ==========
56
57 There is no known workaround at this time.
58
59 Resolution
60 ==========
61
62 All ncompress users should upgrade to the latest version:
63
64 # emerge sync
65
66 # emerge -pv ">=app-arch/ncompress-4.2.4-r1"
67 # emerge ">=app-arch/ncompress-4.2.4-r1"
68
69 References
70 ==========
71
72 [ 1 ] US-CERT Vulnerability Note VU#176363
73 http://www.kb.cert.org/vuls/id/176363
74
75 Availability
76 ============
77
78 This GLSA and any updates to it are available for viewing at
79 the Gentoo Security Website:
80
81 http://security.gentoo.org/glsa/glsa-200410-08.xml
82
83 Concerns?
84 =========
85
86 Security is a primary focus of Gentoo Linux and ensuring the
87 confidentiality and security of our users machines is of utmost
88 importance to us. Any security concerns should be addressed to
89 security@g.o or alternatively, you may file a bug at
90 http://bugs.gentoo.org.
91
92 License
93 =======
94
95 Copyright 2004 Gentoo Foundation, Inc; referenced text
96 belongs to its owner(s).
97
98 The contents of this document are licensed under the
99 Creative Commons - Attribution / Share Alike license.
100
101 http://creativecommons.org/licenses/by-sa/1.0

Attachments

File name MIME type
signature.asc application/pgp-signature