<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200403-10">
  <title>Fetchmail 6.2.5 fixes a remote DoS</title>
  <synopsis>
    Fetchmail versions 6.2.4 and earlier can be crashed by sending a
    specially-crafted email to a fetchmail user.
  </synopsis>
  <product type="ebuild">fetchmail</product>
  <announced>2004-03-30</announced>
  <revised count="01">2004-03-30</revised>
  <bug>37717</bug>
  <access>remote</access>
  <affected>
    <package name="net-mail/fetchmail" auto="yes" arch="*">
      <unaffected range="ge">6.2.5</unaffected>
      <vulnerable range="le">6.2.4</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 versions 6.2.4 and earlier can be crashed by sending a
    specially-crafted email to a fetchmail user. This problem occurs because
    Fetchmail does not properly allocate memory for long lines in an incoming
    email.
    </p>
  </description>
  <impact type="normal">
    <p>
    Fetchmail users who receive a malicious email may have their fetchmail
    program crash.
    </p>
  </impact>
  <workaround>
    <p>
    While a workaround is not currently known for this issue, all users are advised to upgrade to the latest version of fetchmail.
    </p>
  </workaround>
  <resolution>
    <p>
    Fetchmail users should upgrade to version 6.2.5 or later:
    </p>
    <code>
    # emerge sync
    # emerge -pv "&gt;=net-mail/fetchmail-6.2.5"
    # emerge "&gt;=net-mail/fetchmail-6.2.5"</code>
  </resolution>
  <references>
    <uri link="http://xforce.iss.net/xforce/xfdb/13450">ISS X-Force Listing</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0792">CVE Candidate (CAN-2003-0792)</uri>
  </references>
</glsa>
