<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200501-40">
  <title>ngIRCd: Buffer overflow</title>
  <synopsis>
    ngIRCd is vulnerable to a buffer overflow that can be used to crash the
    daemon and possibly execute arbitrary code.
  </synopsis>
  <product type="ebuild">ngIRCd</product>
  <announced>2005-01-28</announced>
  <revised count="02">2006-05-22</revised>
  <bug>79705</bug>
  <access>remote</access>
  <affected>
    <package name="net-irc/ngircd" auto="yes" arch="*">
      <unaffected range="ge">0.8.2</unaffected>
      <vulnerable range="lt">0.8.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    ngIRCd is a free open source daemon for Internet Relay Chat (IRC).
    </p>
  </background>
  <description>
    <p>
    Florian Westphal discovered a buffer overflow caused by an integer
    underflow in the Lists_MakeMask() function of lists.c.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker can exploit this buffer overflow to crash the ngIRCd
    daemon and possibly execute arbitrary code with the rights of the
    ngIRCd daemon process.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All ngIRCd users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-irc/ngIRCd-0.8.2"</code>
  </resolution>
  <references>
    <uri link="http://arthur.ath.cx/pipermail/ngircd-ml/2005-January/000228.html">ngIRCd Release Annoucement</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0199">CVE-2005-0199</uri>
  </references>
  <metadata tag="requester" timestamp="2005-01-27T15:18:35Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-01-27T16:04:52Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2005-01-27T16:45:18Z">
    koon
  </metadata>
</glsa>
