<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200507-19">
  <title>zlib: Buffer overflow</title>
  <synopsis>
    zlib is vulnerable to a buffer overflow which could potentially lead to
    execution of arbitrary code.
  </synopsis>
  <product type="ebuild">zlib</product>
  <announced>2005-07-22</announced>
  <revised count="01">2005-07-22</revised>
  <bug>99751</bug>
  <access>remote</access>
  <affected>
    <package name="sys-libs/zlib" auto="yes" arch="*">
      <unaffected range="ge">1.2.3</unaffected>
      <vulnerable range="lt">1.2.3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    zlib is a widely used free and patent unencumbered data
    compression library.
    </p>
  </background>
  <description>
    <p>
    zlib improperly handles invalid data streams which could 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 zlib, resulting
    in arbitrary code execution or a Denial of Service.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All zlib users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=sys-libs/zlib-1.2.3"</code>
  </resolution>
  <references>
    <uri link="http://archives.neohapsis.com/archives/fulldisclosure/2005-07/0489.html">Full Disclosure Announcement</uri>
    <uri link="https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1849">CAN-2005-1849</uri>
  </references>
  <metadata tag="requester" timestamp="2005-07-21T05:28:09Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2005-07-21T07:38:10Z">
    adir
  </metadata>
  <metadata tag="bugReady" timestamp="2005-07-21T18:38:18Z">
    adir
  </metadata>
</glsa>
