Debian: zip arbitrary code execution fix

    Date05 Jan 2005
    CategoryDebian
    8361
    Posted ByJoe Shakespeare
    A buffer overflow has been discovered in zip, the archiver for .zip files. When doing recursive folder compression the program did not check the resulting path length, which would lead to memory being overwritten. A malicious person could convince a user to create an archive containing a specially crafted path name, which could lead to the execution of arbitrary code.
    
    --------------------------------------------------------------------------
    Debian Security Advisory DSA 624-1                     This email address is being protected from spambots. You need JavaScript enabled to view it.
    http://www.debian.org/security/                             Martin Schulze
    January 5th, 2004                       http://www.debian.org/security/faq
    --------------------------------------------------------------------------
    
    Package        : zip
    Vulnerability  : buffer overflow
    Problem-Type   : remote
    Debian-specific: no
    CVE ID         : CAN-2004-1010
    
    A buffer overflow has been discovered in zip, the archiver for .zip
    files.  When doing recursive folder compression the program did not
    check the resulting path length, which would lead to memory being
    overwritten.  A malicious person could convince a user to create an
    archive containing a specially crafted path name, which could lead to
    the execution of arbitrary code.
    
    For the stable distribution (woody) this problem has been fixed in
    version 2.30-5woody2.
    
    For the unstable distribution (sid) this problem has been fixed in
    version 2.30-8.
    
    We recommend that you upgrade your zip package.
    
    
    Upgrade Instructions
    --------------------
    
    wget url
            will fetch the file for you
    dpkg -i file.deb
            will install the referenced file.
    
    If you are using the apt-get package manager, use the line for
    sources.list as given below:
    
    apt-get update
            will update the internal database
    apt-get upgrade
            will install corrected packages
    
    You may use an automated update by adding the resources from the
    footer to the proper configuration.
    
    
    Debian GNU/Linux 3.0 alias woody
    --------------------------------
    
      Source archives:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2.dsc
          Size/MD5 checksum:      563 6591a439c2d018f0ac27956eb798a235
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2.diff.gz
          Size/MD5 checksum:    17849 800ce2d42e7b980b3678e07af5370c18
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30.orig.tar.gz
          Size/MD5 checksum:   728636 9426b2042139de1f112f271ebdcb0ff0
    
      Alpha architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_alpha.deb
          Size/MD5 checksum:   126748 7cf6bdf363740b74f1870045974a56e5
    
      ARM architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_arm.deb
          Size/MD5 checksum:    92916 16cd350936aa0af3ea96f281d51a7593
    
      Intel IA-32 architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_i386.deb
          Size/MD5 checksum:    88770 e5418be39ba5b40385cf410305c244ec
    
      Intel IA-64 architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_ia64.deb
          Size/MD5 checksum:   147144 12c28325afdf27f027c949f035b73423
    
      HP Precision architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_hppa.deb
          Size/MD5 checksum:   100354 9e40bc0998846233c5a659be5203eba1
    
      Motorola 680x0 architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_m68k.deb
          Size/MD5 checksum:    85306 e7ad986d4c81a64bf9ad1779af36cb35
    
      Big endian MIPS architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_mips.deb
          Size/MD5 checksum:   110088 32a6fd4fad18a252793398230d0681d7
    
      Little endian MIPS architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_mipsel.deb
          Size/MD5 checksum:   109978 b380dd0331e6e04bd6293d2914f4f5de
    
      PowerPC architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_powerpc.deb
          Size/MD5 checksum:    93960 c958e82d88be4f29d69918359a6d26b7
    
      IBM S/390 architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_s390.deb
          Size/MD5 checksum:    90742 62f27d6e6860a6790c76ebf270e4b349
    
      Sun Sparc architecture:
    
        http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_sparc.deb
          Size/MD5 checksum:   107756 588c6c0288dbdb2272fc3a6a6e3e9855
    
    
      These files will probably be moved into the stable distribution on
      its next update.
    
    ---------------------------------------------------------------------------------
    For apt-get: deb http://security.debian.org/ stable/updates main
    For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    Package info: `apt-cache show ' and http://packages.debian.org/
    
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"67","type":"x","order":"1","pct":57.26,"resources":[]},{"id":"88","title":"Should be more technical","votes":"16","type":"x","order":"2","pct":13.68,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"34","type":"x","order":"3","pct":29.06,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.