<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200807-11">
  <title>PeerCast: Buffer overflow</title>
  <synopsis>
    A buffer overflow vulnerability in PeerCast may allow for the remote
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">peercast</product>
  <announced>2008-07-21</announced>
  <revised count="01">2008-07-21</revised>
  <bug>220281</bug>
  <access>remote</access>
  <affected>
    <package name="media-sound/peercast" auto="yes" arch="*">
      <unaffected range="ge">0.1218-r1</unaffected>
      <vulnerable range="lt">0.1218-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PeerCast is a client and server for P2P-radio networks.
    </p>
  </background>
  <description>
    <p>
    Nico Golde reported a boundary error in the HTTP::getAuthUserPass()
    function when processing overly long HTTP Basic authentication
    requests.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker could send a specially crafted HTTP request to the
    vulnerable server, possibly resulting in the remote execution of
    arbitrary code with the privileges of the user running the application.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All PeerCast users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-sound/peercast-0.1218-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2040">CVE-2008-2040</uri>
  </references>
  <metadata tag="requester" timestamp="2008-07-08T00:36:04Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-07-12T19:41:58Z">
    vorlon
  </metadata>
  <metadata tag="submitter" timestamp="2008-07-20T15:19:30Z">
    p-y
  </metadata>
</glsa>
