InspIRCd: Arbitrary code execution — GLSA 201204-02

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

Affected packages

net-irc/inspircd on all architectures
Affected versions < 2.0.5-r1
Unaffected versions >= 2.0.5-r1

Background

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

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

Release date
April 10, 2012

Latest revision
April 10, 2012: 1

Severity
high

Exploitable
remote

Bugzilla entries