<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200505-09">
  <title>Gaim: Denial of Service and buffer overflow vulnerabilties</title>
  <synopsis>
    Gaim contains two vulnerabilities, potentially resulting in the execution
    of arbitrary code or Denial of Service.
  </synopsis>
  <product type="ebuild">gaim</product>
  <announced>2005-05-12</announced>
  <revised count="01">2005-05-12</revised>
  <bug>91862</bug>
  <access>remote</access>
  <affected>
    <package name="net-im/gaim" auto="yes" arch="*">
      <unaffected range="ge">1.3.0</unaffected>
      <vulnerable range="lt">1.3.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Gaim is a full featured instant messaging client which handles a
    variety of instant messaging protocols.
    </p>
  </background>
  <description>
    <p>
    Stu Tomlinson discovered that Gaim is vulnerable to a remote stack
    based buffer overflow when receiving messages in certain protocols,
    like Jabber and SILC, with a very long URL (CAN-2005-1261). Siebe
    Tolsma discovered that Gaim is also vulnerable to a remote Denial of
    Service attack when receiving a specially crafted MSN message
    (CAN-2005-1262).
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker could cause a buffer overflow by sending an
    instant message with a very long URL, potentially leading to the
    execution of malicious code. By sending a SLP message with an empty
    body, a remote attacker could cause a Denial of Service or crash of the
    Gaim client.
    </p>
  </impact>
  <workaround>
    <p>
    There are no known workarounds at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Gaim users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-im/gaim-1.3.0"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1261">CAN-2005-1261</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1262">CAN-2005-1262</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-05-11T11:51:15Z">
    DerCorny
  </metadata>
  <metadata tag="bugReady" timestamp="2005-05-12T04:18:52Z">
    jaervosz
  </metadata>
</glsa>
