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-01 ] sharutils: Buffer overflows in shar.c and unshar.c
Date: Fri, 01 Oct 2004 12:18:08
Message-Id: 415D48EA.2030401@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200410-01
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: sharutils: Buffer overflows in shar.c and unshar.c
9 Date: October 01, 2004
10 Bugs: #65773
11 ID: 200410-01
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 sharutils contains two buffer overflow vulnerabilities that could lead
19 to arbitrary code execution.
20
21 Background
22 ==========
23
24 sharutils contains utilities to manage shell archives.
25
26 Affected packages
27 =================
28
29 -------------------------------------------------------------------
30 Package / Vulnerable / Unaffected
31 -------------------------------------------------------------------
32 1 app-arch/sharutils <= 4.2.1-r9 >= 4.2.1-r10
33
34 Description
35 ===========
36
37 sharutils contains two buffer overflows. Ulf Harnhammar discovered a
38 buffer overflow in shar.c, where the length of data returned by the wc
39 command is not checked. Florian Schilhabel discovered another buffer
40 overflow in unshar.c.
41
42 Impact
43 ======
44
45 An attacker could exploit these vulnerabilities to execute arbitrary
46 code as the user running one of the sharutils programs.
47
48 Workaround
49 ==========
50
51 There is no known workaround at this time.
52
53 Resolution
54 ==========
55
56 All sharutils users should upgrade to the latest version:
57
58 # emerge sync
59
60 # emerge -pv ">=app-arch/sharutils-4.2.1-r10"
61 # emerge ">=app-arch/sharutils-4.2.1-r10"
62
63 References
64 ==========
65
66 [ 1 ] Debian Bug #265904
67 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265904
68
69 Availability
70 ============
71
72 This GLSA and any updates to it are available for viewing at
73 the Gentoo Security Website:
74
75 http://security.gentoo.org/glsa/glsa-200410-01.xml
76
77 Concerns?
78 =========
79
80 Security is a primary focus of Gentoo Linux and ensuring the
81 confidentiality and security of our users machines is of utmost
82 importance to us. Any security concerns should be addressed to
83 security@g.o or alternatively, you may file a bug at
84 http://bugs.gentoo.org.
85
86 License
87 =======
88
89 Copyright 2004 Gentoo Foundation, Inc; referenced text
90 belongs to its owner(s).
91
92 The contents of this document are licensed under the
93 Creative Commons - Attribution / Share Alike license.
94
95 http://creativecommons.org/licenses/by-sa/1.0

Attachments

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