Gentoo: ngIRCd Denial of Service
Posted by Benjamin D. Thomas   
Gentoo ngIRCd does not properly sanitize commands sent by users, allowing for a Denial of Service.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                        GLSA 200801-13:02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: ngIRCd: Denial of Service
      Date: January 27, 2008
   Updated: January 27, 2008
      Bugs: #204834
        ID: 200801-13:02

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

ngIRCd does not properly sanitize commands sent by users, allowing for
a Denial of Service.

Background
==========

ngIRCd is a free open source daemon for Internet Relay Chat (IRC).

Affected packages
=================

    -------------------------------------------------------------------
     Package         /  Vulnerable  /                       Unaffected
    -------------------------------------------------------------------
  1  net-irc/ngircd      < 0.10.4                            >= 0.10.4

Description
===========

The IRC_PART() function in the file irc-channel.c does not properly
check the number of parameters, referencing an invalid pointer if no
channel is supplied.

Impact
======

A remote attacker can exploit this vulnerability to crash the ngIRCd
daemon.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All ngIRCd users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-irc/ngircd-0.10.4"

References
==========

  [ 1 ] CVE-2008-0285
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0285

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200801-13.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5