<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200812-05">
  <title>libsamplerate: User-assisted execution of arbitrary code</title>
  <synopsis>
    A buffer overflow vulnerability in libsamplerate might lead to the
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">libsamplerate</product>
  <announced>2008-12-02</announced>
  <revised count="01">2008-12-02</revised>
  <bug>237037</bug>
  <access>remote</access>
  <affected>
    <package name="media-libs/libsamplerate" auto="yes" arch="*">
      <unaffected range="ge">0.1.4</unaffected>
      <vulnerable range="lt">0.1.4</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for
    audio.
    </p>
  </background>
  <description>
    <p>
    Russell O'Connor reported a buffer overflow in src/src_sinc.c related
    to low conversion ratios.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user or automated system to process a
    specially crafted audio file possibly leading to the 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 libsamplerate users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-libs/libsamplerate-0.1.4"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5008">CVE-2008-5008</uri>
  </references>
  <metadata tag="requester" timestamp="2008-11-07T13:51:38Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2008-11-27T16:25:38Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2008-11-27T16:25:44Z">
    rbu
  </metadata>
</glsa>
