<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200605-07">
  <title>Nagios: Buffer overflow</title>
  <synopsis>
    Nagios is vulnerable to a buffer overflow which may lead to remote
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">nagios</product>
  <announced>2006-05-07</announced>
  <revised count="03">2006-05-25</revised>
  <bug>132159</bug>
  <bug>133487</bug>
  <access>remote</access>
  <affected>
    <package name="net-analyzer/nagios-core" auto="yes" arch="*">
      <unaffected range="ge">1.4.1</unaffected>
      <vulnerable range="lt">1.4.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Nagios is an open source host, service and network monitoring program.
    </p>
  </background>
  <description>
    <p>
    Sebastian Krahmer of the SuSE security team discovered a buffer
    overflow vulnerability in the handling of a negative HTTP
    Content-Length header.
    </p>
  </description>
  <impact type="high">
    <p>
    A buffer overflow in Nagios CGI scripts under certain web servers
    allows remote attackers to execute arbitrary code via a negative
    content length HTTP header.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Nagios users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-analyzer/nagios-core-1.4.1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2162">CVE-2006-2162</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2489">CVE-2006-2489</uri>
  </references>
  <metadata tag="requester" timestamp="2006-05-04T17:10:32Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2006-05-05T19:09:01Z">
    fox2mike
  </metadata>
  <metadata tag="bugReady" timestamp="2006-05-06T04:21:12Z">
    jaervosz
  </metadata>
</glsa>
