gzip -N command directory traversal

gzip-n-directory-traversal (20199) The risk level is classified as MediumMedium Risk

Description:

gzip (GNU zip) could allow a remote attacker to traverse directories on system. If an attacker could persuade a user to open a malicious compressed file using the 'gunzip -N' command, the attacker could traverse directories and create or overwrite files on the system with the privileges of the victim.


Consequences:

File Manipulation

Remedy:

Apply the patch for this vulnerability, available from the Debian Bug report 305255. See References.

For Debian GNU/Linux 3.1 (Sarge):
Upgrade to the latest version of gzip (1.3.5-10 or later), as listed in DSA-752-1. See References.

For Conectiva Linux:
Upgrade to the latest version of gzip, as listed below. Refer to Conectiva Linux Announcement CLSA-2005:974 for more information. See References.

Conectiva Linux: 10.0: 1.3.5 or later
Conectiva Linux: 9.0: 1.3.3 or later

For Red Hat Linux:
Refer to RHSA-2005:357-19 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-05-05 for patch, upgrade, or suggested workaround information. See References.

For OpenPKG:
Refer to OpenPKG Security Advisory OpenPKG-SA-2005.009 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-116-1 for patch, upgrade, or suggested workaround information. See References.

For Apple Mac OS X:
Apply Apple Security Update 2006-004, available from the Apple Web site. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

Platforms Affected:

  • Canonical Ubuntu 4.10
  • Canonical Ubuntu 5.04
  • Conectiva Linux 10
  • Conectiva Linux 9.0
  • Debian Debian Linux 3.0
  • Debian Debian Linux 3.1
  • Gentoo Linux
  • GNU gzip 1.2.4
  • GNU gzip 1.2.4a
  • GNU gzip 1.3
  • GNU gzip 1.3.3
  • MandrakeSoft Mandrake Linux 10.0 AMD64
  • MandrakeSoft Mandrake Linux 10.0
  • MandrakeSoft Mandrake Linux 10.1 X86_64
  • MandrakeSoft Mandrake Linux 10.1
  • MandrakeSoft Mandrake Linux LE2005
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 2.1 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 2.1
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • OpenPKG OpenPKG 2.2
  • OpenPKG OpenPKG 2.3
  • OpenPKG OpenPKG CURRENT
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 AS
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • Sun Solaris 10 x86
  • Sun Solaris 10 SPARC
  • Sun Solaris 8 x86
  • Sun Solaris 8 SPARC
  • Sun Solaris 9 x86
  • Sun Solaris 9 SPARC
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 7 Server
  • Turbolinux Turbolinux 7 Workstation
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux 8 Workstation
  • Turbolinux Turbolinux Home
  • Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed

Reported:

Apr 20, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page