<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200508-01">
  <title>Compress::Zlib: Buffer overflow</title>
  <synopsis>
    Compress::Zlib is vulnerable to a buffer overflow which could potentially
    lead to execution of arbitrary code.
  </synopsis>
  <product type="ebuild">Compress-Zlib</product>
  <announced>2005-08-01</announced>
  <revised count="02">2009-05-28</revised>
  <bug>100540</bug>
  <access>remote</access>
  <affected>
    <package name="perl-core/Compress-Zlib" auto="yes" arch="*">
      <unaffected range="ge">1.35</unaffected>
      <vulnerable range="lt">1.35</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    The Compress::Zlib is a Perl module which provides an interface to
    the zlib compression library.
    </p>
  </background>
  <description>
    <p>
    Compress::Zlib 1.34 contains a local vulnerable version of zlib,
    which may lead to a buffer overflow.
    </p>
  </description>
  <impact type="high">
    <p>
    By creating a specially crafted compressed data stream, attackers
    can overwrite data structures for applications that use Compress::Zlib,
    resulting in a Denial of Service and potentially arbitrary code
    execution.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Compress::Zlib users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=perl-core/Compress-Zlib-1.35"</code>
  </resolution>
  <references>
    <uri link="https://www.gentoo.org/security/en/glsa/glsa-200507-19.xml">GLSA 200507-19</uri>
    <uri link="https://www.gentoo.org/security/en/glsa/glsa-200507-05.xml">GLSA 200507-05</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1849">CAN-2005-1849</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096">CAN-2005-2096</uri>
  </references>
  <metadata tag="requester" timestamp="2005-07-28T11:43:56Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-07-29T23:24:17Z">
    adir
  </metadata>
  <metadata tag="bugReady" timestamp="2005-08-01T05:55:33Z">
    jaervosz
  </metadata>
</glsa>
