Debian Security Advisory
DSA-624-1 zip -- buffer overflow
- Date Reported:
- 05 Jan 2005
- Affected Packages:
- zip
- Vulnerable:
- Yes
- Security database references:
- In Mitre's CVE dictionary: CVE-2004-1010.
- More information:
-
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.
- Fixed in:
-
Debian GNU/Linux 3.0 (woody)
- Source:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2.dsc
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2.diff.gz
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30.orig.tar.gz
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2.diff.gz
- Alpha:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_alpha.deb
- ARM:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_arm.deb
- Intel IA-32:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_i386.deb
- Intel IA-64:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_ia64.deb
- HPPA:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_hppa.deb
- Motorola 680x0:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_m68k.deb
- Big endian MIPS:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_mips.deb
- Little endian MIPS:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_mipsel.deb
- PowerPC:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_powerpc.deb
- IBM S/390:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_s390.deb
- Sun Sparc:
- http://security.debian.org/pool/updates/main/z/zip/zip_2.30-5woody2_sparc.deb
MD5 checksums of the listed files are available in the original advisory.