Debian: 'gzip' Potential buffer overflow
Posted by LinuxSecurity.com Team   
Debian GOBBLES found a buffer overflow in gzip that occurs when compressingfiles with really long filenames. Even though GOBBLES claims to havedeveloped an exploit to take advantage of this bug, it has been saidby others that this problem is not likely to be exploitable as othersecurity incidents.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 100-1                     security@debian.org 
http://www.debian.org/security/                             Martin Schulze
January 13th, 2002  
- --------------------------------------------------------------------------

Package        : gzip
Vulnerability  : Potential buffer overflow
Problem-Type   : local
Debian-specific: no

GOBBLES found a buffer overflow in gzip that occurs when compressing
files with really long filenames.  Even though GOBBLES claims to have
developed an exploit to take advantage of this bug, it has been said
by others that this problem is not likely to be exploitable as other
security incidents.

Additionally, the Debian version of gzip from the stable release does
not segfault, and hence does not directly inherit this problem.
However, better be safe than sorry, so we have prepared an update for
you.

Please make sure you are running an up-to-date version from
stable/unstable/testing with at least version 1.2.4-33.

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 2.2 alias potato
- ------------------------------------

  Source archives:

     http://security.debian.org/dists/stable/updates/main/source/gzip_1.2.4-33.1.diff.gz
      MD5 checksum: e5669c5bbb138dbf1c522337aab58fc8
     http://security.debian.org/dists/stable/updates/main/source/gzip_1.2.4-33.1.dsc
      MD5 checksum: 55f3382aebcf5e1b83b3e4004864f15c
     http://security.debian.org/dists/stable/updates/main/source/gzip_1.2.4.orig.tar.gz
      MD5 checksum: b94b3e07797e0cbf3622bb2fe5682f0b

  Alpha architecture:

     http://security.debian.org/dists/stable/updates/main/binary-alpha/gzip_1.2.4-33.1_alpha.deb
      MD5 checksum: 725078383b4716acf7bcf1bb85f2ab7d

  ARM architecture:

     http://security.debian.org/dists/stable/updates/main/binary-arm/gzip_1.2.4-33.1_arm.deb
      MD5 checksum: 4d949c3e3e770384fae6feed805fd08b

  Intel ia32 architecture:

     http://security.debian.org/dists/stable/updates/main/binary-i386/gzip_1.2.4-33.1_i386.deb
      MD5 checksum: b61176ee1953b528e50268995e6c2505

  Motorola 680x0 architecture:

     http://security.debian.org/dists/stable/updates/main/binary-m68k/gzip_1.2.4-33.1_m68k.deb
      MD5 checksum: 61fb17bebf8ee72a087b13df4800d8e7

  PowerPC architecture:

     
http://security.debian.org/dists/stable/updates/main/binary-powerpc/gzip_1.2.4-33.1_powerpc.deb
      MD5 checksum: c59b537fed3dadc84d630b3033112781

  Sun Sparc architecture:

     http://security.debian.org/dists/stable/updates/main/binary-sparc/gzip_1.2.4-33.1_sparc.deb
      MD5 checksum: d375736c6e46f185354b608ec11d5e0d


  These files will probably be moved into the stable distribution on
  its next revision.

- ---------------------------------------------------------------------------------
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: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and  http://packages.debian.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see  http://www.gnupg.org

iD8DBQE8QVy6W5ql+IAeqTIRAqGRAJ9k5Ni7zBMuNM5lrI3rYUVJpajTlgCfVjC1
0+Q5M7veoM2Mr7/WhJIvo2I=
=ZFaW
-----END PGP SIGNATURE-----