1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200507-21 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: fetchmail: Buffer Overflow |
9 |
Date: July 25, 2005 |
10 |
Bugs: #99865 |
11 |
ID: 200507-21 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
fetchmail is susceptible to a buffer overflow resulting in a Denial of |
19 |
Service or arbitrary code execution. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
fetchmail is a utility that retrieves and forwards mail from remote |
25 |
systems using IMAP, POP, and other protocols. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 net-mail/fetchmail < 6.2.5.2 >= 6.2.5.2 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
fetchmail does not properly validate UIDs coming from a POP3 mail |
39 |
server. The UID is placed in a fixed length buffer on the stack, which |
40 |
can be overflown. |
41 |
|
42 |
Impact |
43 |
====== |
44 |
|
45 |
Very long UIDs returned from a malicious or compromised POP3 server can |
46 |
cause fetchmail to crash, resulting in a Denial of Service, or allow |
47 |
arbitrary code to be placed on the stack. |
48 |
|
49 |
Workaround |
50 |
========== |
51 |
|
52 |
There are no known workarounds at this time. |
53 |
|
54 |
Resolution |
55 |
========== |
56 |
|
57 |
All fetchmail users should upgrade to the latest version: |
58 |
|
59 |
# emerge --sync |
60 |
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.2.5.2" |
61 |
|
62 |
References |
63 |
========== |
64 |
|
65 |
[ 1 ] Fetchmail Security Advisory |
66 |
http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt |
67 |
[ 2 ] CAN-2005-2335 |
68 |
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2335 |
69 |
|
70 |
Availability |
71 |
============ |
72 |
|
73 |
This GLSA and any updates to it are available for viewing at |
74 |
the Gentoo Security Website: |
75 |
|
76 |
http://security.gentoo.org/glsa/glsa-200507-21.xml |
77 |
|
78 |
Concerns? |
79 |
========= |
80 |
|
81 |
Security is a primary focus of Gentoo Linux and ensuring the |
82 |
confidentiality and security of our users machines is of utmost |
83 |
importance to us. Any security concerns should be addressed to |
84 |
security@g.o or alternatively, you may file a bug at |
85 |
http://bugs.gentoo.org. |
86 |
|
87 |
License |
88 |
======= |
89 |
|
90 |
Copyright 2005 Gentoo Foundation, Inc; referenced text |
91 |
belongs to its owner(s). |
92 |
|
93 |
The contents of this document are licensed under the |
94 |
Creative Commons - Attribution / Share Alike license. |
95 |
|
96 |
http://creativecommons.org/licenses/by-sa/2.0 |