summaryrefslogtreecommitdiff
blob: 5ef8eb0800c587c6ea821d89ed6e4a27b6a56f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200507-21">
  <title>fetchmail: Buffer Overflow</title>
  <synopsis>
    fetchmail is susceptible to a buffer overflow resulting in a Denial of
    Service or arbitrary code execution.
  </synopsis>
  <product type="ebuild">fetchmail</product>
  <announced>2005-07-25</announced>
  <revised count="01">2005-07-25</revised>
  <bug>99865</bug>
  <access>remote</access>
  <affected>
    <package name="net-mail/fetchmail" auto="yes" arch="*">
      <unaffected range="ge">6.2.5.2</unaffected>
      <vulnerable range="lt">6.2.5.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    fetchmail is a utility that retrieves and forwards mail from
    remote systems using IMAP, POP, and other protocols.
    </p>
  </background>
  <description>
    <p>
    fetchmail does not properly validate UIDs coming from a POP3 mail
    server. The UID is placed in a fixed length buffer on the stack, which
    can be overflown.
    </p>
  </description>
  <impact type="normal">
    <p>
    Very long UIDs returned from a malicious or compromised POP3
    server can cause fetchmail to crash, resulting in a Denial of Service,
    or allow arbitrary code to be placed on the stack.
    </p>
  </impact>
  <workaround>
    <p>
    There are no known workarounds at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All fetchmail users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-mail/fetchmail-6.2.5.2"</code>
  </resolution>
  <references>
    <uri link="http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt">Fetchmail Security Advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2335">CAN-2005-2335</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-07-22T05:37:13Z">
    r2d2
  </metadata>
  <metadata tag="bugReady" timestamp="2005-07-24T07:43:36Z">
    adir
  </metadata>
</glsa>