<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200710-17">
  <title>Balsa: Buffer overflow</title>
  <synopsis>
    Balsa is vulnerable to a buffer overflow allowing for the user-assisted
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">balsa</product>
  <announced>2007-10-16</announced>
  <revised count="01">2007-10-16</revised>
  <bug>193179</bug>
  <access>remote</access>
  <affected>
    <package name="mail-client/balsa" auto="yes" arch="*">
      <unaffected range="ge">2.3.20</unaffected>
      <vulnerable range="lt">2.3.20</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Balsa is a highly configurable email client for GNOME.
    </p>
  </background>
  <description>
    <p>
    Evil Ninja Squirrel discovered a stack-based buffer overflow in the
    ir_fetch_seq() function when receiving a long response to a FETCH
    command (CVE-2007-5007).
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user to connect to a malicious or
    compromised IMAP server, possibly leading to the execution of arbitrary
    code with the rights of the user running Balsa.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Balsa users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=mail-client/balsa-2.3.20"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5007">CVE-2007-5007</uri>
  </references>
  <metadata tag="requester" timestamp="2007-09-26T14:01:38Z">
    p-y
  </metadata>
  <metadata tag="bugReady" timestamp="2007-09-26T14:01:46Z">
    p-y
  </metadata>
  <metadata tag="submitter" timestamp="2007-10-08T00:14:17Z">
    rbu
  </metadata>
</glsa>
