Debian Security Advisory
DSA-752-1 gzip -- several vulnerabilities
- Date Reported:
- 11 Jul 2005
- Affected Packages:
- gzip
- Vulnerable:
- Yes
- Security database references:
- In the Debian bugtracking system: Bug 305255.
In Mitre's CVE dictionary: CVE-2005-0988, CVE-2005-1228. - More information:
-
Two problems have been discovered in gzip, the GNU compression utility. The Common Vulnerabilities and Exposures project identifies the following problems.
- CAN-2005-0988
Imran Ghory discovered a race condition in the permissions setting code in gzip. When decompressing a file in a directory an attacker has access to, gunzip could be tricked to set the file permissions to a different file the user has permissions to.
- CAN-2005-1228
Ulf Härnhammar discovered a path traversal vulnerability in gunzip. When gunzip is used with the -N option an attacker could use this vulnerability to create files in an arbitrary directory with the permissions of the user.
For the oldstable distribution (woody) these problems have been fixed in version 1.3.2-3woody5.
For the stable distribution (sarge) these problems have been fixed in version 1.3.5-10.
For the unstable distribution (sid) these problems have been fixed in version 1.3.5-10.
We recommend that you upgrade your gzip package.
- CAN-2005-0988
- Fixed in:
-
Debian GNU/Linux 3.0 (woody)
- Source:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5.dsc
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5.diff.gz
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2.orig.tar.gz
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5.diff.gz
- Alpha:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_alpha.deb
- ARM:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_arm.deb
- Intel IA-32:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_i386.deb
- Intel IA-64:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_ia64.deb
- HPPA:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_hppa.deb
- Motorola 680x0:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_m68k.deb
- Big endian MIPS:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_mips.deb
- Little endian MIPS:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_mipsel.deb
- PowerPC:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_powerpc.deb
- IBM S/390:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_s390.deb
- Sun Sparc:
- http://security.debian.org/pool/updates/main/g/gzip/gzip_1.3.2-3woody5_sparc.deb
MD5 checksums of the listed files are available in the original advisory.