Linux Security
Linux Security
Linux Security

Debian: zip arbitrary code execution fix

Date 05 Jan 2005
8599
Posted By Joe 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.
https://www.debian.org/security/                             Martin Schulze
January 5th, 2004                       https://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:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2.dsc
      Size/MD5 checksum:      563 6591a439c2d018f0ac27956eb798a235
    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2.diff.gz
      Size/MD5 checksum:    17849 800ce2d42e7b980b3678e07af5370c18
    https://security.debian.org/pool/updates/main/z/zip/zip_2.30.orig.tar.gz
      Size/MD5 checksum:   728636 9426b2042139de1f112f271ebdcb0ff0

  Alpha architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_alpha.deb
      Size/MD5 checksum:   126748 7cf6bdf363740b74f1870045974a56e5

  ARM architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_arm.deb
      Size/MD5 checksum:    92916 16cd350936aa0af3ea96f281d51a7593

  Intel IA-32 architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_i386.deb
      Size/MD5 checksum:    88770 e5418be39ba5b40385cf410305c244ec

  Intel IA-64 architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_ia64.deb
      Size/MD5 checksum:   147144 12c28325afdf27f027c949f035b73423

  HP Precision architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_hppa.deb
      Size/MD5 checksum:   100354 9e40bc0998846233c5a659be5203eba1

  Motorola 680x0 architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_m68k.deb
      Size/MD5 checksum:    85306 e7ad986d4c81a64bf9ad1779af36cb35

  Big endian MIPS architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_mips.deb
      Size/MD5 checksum:   110088 32a6fd4fad18a252793398230d0681d7

  Little endian MIPS architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_mipsel.deb
      Size/MD5 checksum:   109978 b380dd0331e6e04bd6293d2914f4f5de

  PowerPC architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_powerpc.deb
      Size/MD5 checksum:    93960 c958e82d88be4f29d69918359a6d26b7

  IBM S/390 architecture:

    https://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_s390.deb
      Size/MD5 checksum:    90742 62f27d6e6860a6790c76ebf270e4b349

  Sun Sparc architecture:

    https://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 https://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 https://packages.debian.org/

LinuxSecurity Poll

How frequently do you patch/update your system?

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/52-how-frequently-do-you-patch-update-your-system?task=poll.vote&format=json
52
radio
[{"id":"179","title":"As soon as patches\/updates are released - I track advisories for my distro(s) diligently","votes":"52","type":"x","order":"1","pct":80,"resources":[]},{"id":"180","title":"Every so often, when I think of it","votes":"8","type":"x","order":"2","pct":12.31,"resources":[]},{"id":"181","title":"Hardly ever","votes":"5","type":"x","order":"3","pct":7.69,"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

Please vote first in order to view vote results.

VOTE ON THE POLL PAGE


VIEW MORE POLLS

bottom 200

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

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