- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201204-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: High
    Title: InspIRCd: Arbitrary code execution
     Date: April 10, 2012
     Bugs: #409159
       ID: 201204-02

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

Synopsis
========

A heap-based buffer overflow in InspIRCd may allow execution of
arbitrary code.

Background
==========

InspIRCd (Inspire IRCd) is a modular C++ IRC daemon

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

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  net-irc/inspircd            < 2.0.5-r1               >= 2.0.5-r1

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

A vulnerability in InspIRCd allows DNS compression features to control
the number of overflowed bytes sent to the heap-based buffer "res[]" in
dns.cpp.

Impact
======

A remote attacker could send specially crafted DNS responses, possibly
resulting in execution of arbitrary code with the privileges of the
process or a Denial of Service condition.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All InspIRCd users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=net-irc/inspircd-2.0.5-r1"

References
==========

[ 1 ] CVE-2012-1836
      http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-1836

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

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

 http://security.gentoo.org/glsa/glsa-201204-02.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
https://bugs.gentoo.org.

License
=======

Copyright 2012 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