Gentoo Archives: gentoo-announce

From: Robert Buchholz <rbu@g.o>
To: gentoo-announce@l.g.o
Cc: bugtraq@×××××××××××××.com, full-disclosure@××××××××××××××.uk, security-alerts@×××××××××××××.com
Subject: [gentoo-announce] [ GLSA 200911-03 ] UW IMAP toolkit: Multiple vulnerabilities
Date: Wed, 25 Nov 2009 16:09:49
Message-Id: 200911251425.06595.rbu@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 200911-03
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: High
8 Title: UW IMAP toolkit: Multiple vulnerabilities
9 Date: November 25, 2009
10 Bugs: #245425, #252567
11 ID: 200911-03
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 Multiple vulnerabilities have been found in the UW IMAP toolkit and the
19 c-client library, the worst of which leading to the execution of
20 arbitrary code.
21
22 Background
23 ==========
24
25 The UW IMAP toolkit is a daemon for the IMAP and POP3 network mail
26 protocols. The c-client library provides an API for IMAP, POP3 and
27 other protocols.
28
29 Affected packages
30 =================
31
32 -------------------------------------------------------------------
33 Package / Vulnerable / Unaffected
34 -------------------------------------------------------------------
35 1 net-libs/c-client < 2007e >= 2007e
36 2 net-mail/uw-imap < 2007e >= 2007e
37 -------------------------------------------------------------------
38 2 affected packages on all of their supported architectures.
39 -------------------------------------------------------------------
40
41 Description
42 ===========
43
44 Multiple vulnerabilities were found in the UW IMAP toolkit:
45
46 * Aron Andersson and Jan Sahlin of Bitsec reported boundary errors in
47 the "tmail" and "dmail" utilities when processing overly long mailbox
48 names, leading to stack-based buffer overflows (CVE-2008-5005).
49
50 * An error in smtp.c in the c-client library was found, leading to a
51 NULL pointer dereference vulnerability (CVE-2008-5006).
52
53 * Ludwig Nussel reported an off-by-one error in the
54 rfc822_output_char() function in the RFC822BUFFER routines in the
55 c-client library, as used by the UW IMAP toolkit (CVE-2008-5514).
56
57 Impact
58 ======
59
60 A remote attacker could send an e-mail to a destination mailbox name
61 composed of a username and '+' character followed by a long string,
62 possibly leading to the execution of arbitrary code. A local attacker
63 could gain privileges by specifying a long folder extension argument to
64 the tmail or dmail program. Furthermore, a remote attacker could send a
65 specially crafted mail message to the UW IMAP toolkit or another daemon
66 using the c-client library, leading to a Denial of Service. A remote
67 SMTP server could respond to the QUIT command with a close of the TCP
68 connection instead of the expected 221 response code, possibly leading
69 to a Denial of Service.
70
71 Workaround
72 ==========
73
74 There is no known workaround at this time.
75
76 Resolution
77 ==========
78
79 All c-client library users should upgrade to the latest version:
80
81 # emerge --sync
82 # emerge --ask --oneshot --verbose ">=net-libs/c-client-2007e"
83
84 All UW IMAP toolkit users should upgrade to the latest version:
85
86 # emerge --sync
87 # emerge --ask --oneshot --verbose ">=net-mail/uw-imap-2007e"
88
89 References
90 ==========
91
92 [ 1 ] CVE-2008-5005
93 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5005
94 [ 2 ] CVE-2008-5006
95 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5006
96 [ 3 ] CVE-2008-5514
97 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5514
98
99 Availability
100 ============
101
102 This GLSA and any updates to it are available for viewing at
103 the Gentoo Security Website:
104
105 http://security.gentoo.org/glsa/glsa-200911-03.xml
106
107 Concerns?
108 =========
109
110 Security is a primary focus of Gentoo Linux and ensuring the
111 confidentiality and security of our users machines is of utmost
112 importance to us. Any security concerns should be addressed to
113 security@g.o or alternatively, you may file a bug at
114 https://bugs.gentoo.org.
115
116 License
117 =======
118
119 Copyright 2009 Gentoo Foundation, Inc; referenced text
120 belongs to its owner(s).
121
122 The contents of this document are licensed under the
123 Creative Commons - Attribution / Share Alike license.
124
125 http://creativecommons.org/licenses/by-sa/2.5

Attachments

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