[ GLSA 200507-05 ] zlib: Buffer overflow

From: Thierry Carrez (koon_at_gentoo.org)
Date: 07/06/05

  • Next message: Martin Pitt: "[USN-147-2] Fixed php4-pear packages for USN-147-1"
    Date: Wed, 06 Jul 2005 16:23:20 +0200
    To: gentoo-announce@lists.gentoo.org
    
    
    

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 200507-05
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                http://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      Severity: High
         Title: zlib: Buffer overflow
          Date: July 06, 2005
          Bugs: #98121
            ID: 200507-05

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Synopsis
    ========

    A buffer overflow has been discovered in zlib, potentially resulting in
    the execution of arbitrary code.

    Background
    ==========

    zlib is a widely used free and patent unencumbered data compression
    library.

    Affected packages
    =================

        -------------------------------------------------------------------
         Package / Vulnerable / Unaffected
        -------------------------------------------------------------------
      1 sys-libs/zlib < 1.2.2-r1 >= 1.2.2-r1

    Description
    ===========

    Tavis Ormandy of the Gentoo Linux Security Audit Team discovered a
    buffer overflow in zlib. A bounds checking operation failed to take
    invalid data into account, allowing a specifically malformed deflate
    data stream to overrun a buffer.

    Impact
    ======

    An attacker could construct a malformed data stream, embedding it
    within network communication or an application file format, potentially
    resulting in the execution of arbitrary code when decoded by the
    application using the zlib library.

    Workaround
    ==========

    There is no known workaround at this time.

    Resolution
    ==========

    All zlib users should upgrade to the latest version:

        # emerge --sync
        # emerge --ask --oneshot --verbose ">=sys-libs/zlib-1.2.2-r1"

    References
    ==========

      [ 1 ] CAN-2005-2096
            http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2096

    Availability
    ============

    This GLSA and any updates to it are available for viewing at
    the Gentoo Security Website:

      http://security.gentoo.org/glsa/glsa-200507-05.xml

    Concerns?
    =========

    Security is a primary focus of Gentoo Linux and ensuring the
    confidentiality and security of our users machines is of utmost
    importance to us. Any security concerns should be addressed to
    security@gentoo.org or alternatively, you may file a bug at
    http://bugs.gentoo.org.

    License
    =======

    Copyright 2005 Gentoo Foundation, Inc; referenced text
    belongs to its owner(s).

    The contents of this document are licensed under the
    Creative Commons - Attribution / Share Alike license.

    http://creativecommons.org/licenses/by-sa/2.0

    
    



  • Next message: Martin Pitt: "[USN-147-2] Fixed php4-pear packages for USN-147-1"

    Relevant Pages

    • [Full-disclosure] [ GLSA 200507-05 ] zlib: Buffer overflow
      ... zlib is a widely used free and patent unencumbered data compression ... buffer overflow in zlib. ... the Gentoo Security Website: ... Security is a primary focus of Gentoo Linux and ensuring the ...
      (Full-Disclosure)
    • [Full-disclosure] [gentoo-announce] [ GLSA 200507-05 ] zlib: Buffer overflow
      ... zlib is a widely used free and patent unencumbered data compression ... buffer overflow in zlib. ... the Gentoo Security Website: ... Security is a primary focus of Gentoo Linux and ensuring the ...
      (Full-Disclosure)
    • [NEWS] Double Free Bug in zlib Compression Library
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... There is a bug in the zlib compression library that may manifest ... itself as a vulnerability in programs that are linked with zlib. ...
      (Securiteam)
    • [OpenPKG-SA-2002.003] OpenPKG Security Advisory (zlib)
      ... Dependent Packages: ... According to a Zlib Security Advisory and the original CERT ... $ ftp ftp.openpkg.org ...
      (Bugtraq)
    • MDKSA-2002:022 - zlib update
      ... causes zlib to free an area of memory twice. ... The second advisory contains additional packages that bring their own ... Mandrake Linux 8.0/ppc: ... All packages are signed by MandrakeSoft for security. ...
      (Bugtraq)