gzip zgrep and bzgrep code execution

gzip-zgrep-bzgrep-code-execution (20539) The risk level is classified as MediumMedium Risk

Description:

gzip (GNU zip) could allow a remote attacker to execute arbitrary code on the vulnerable system, caused by a vulnerability in the zgrep and bzgrep utilities. By persuading a victim to run zgrep or bzgrep on a file with a specially-crafted filename, a remote attacker could exploit this vulnerability to execute arbitrary code on the vulnerable system.


Consequences:

File Manipulation

Remedy:

For Mac OS:
Apply Apple Security Update 2007-007, available from the Apple Web site. See References.

For Gentoo Linux:
Upgrade to the latest version of gzip (1.3.5-r6 or later), as listed in GLSA 200505-05. See References.

For Red Hat Linux (bzip):
Refer to RHSA-2005:0474-21 for patch, upgrade, or suggested workaround information. See References.

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

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

For OpenPKG (bzip2 1.03 and prior):
Refer to OpenPKG Security Advisory OpenPKG-SA-2007.002 for patch, upgrade, or suggested workaround information. See References.

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

References:

Platforms Affected:

  • Apple Mac OS X 10.3.9
  • Apple Mac OS X 10.4.10
  • Apple Mac OS X Server 10.3.9
  • Apple Mac OS X Server 10.4.10
  • Canonical Ubuntu 4.10
  • Canonical Ubuntu 5.04
  • Gentoo Linux
  • GNU gzip
  • 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 2006
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux LE2005 X86_64
  • MandrakeSoft Mandrake Linux LE2005
  • 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
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • OpenPKG OpenPKG 2-STABLE
  • OpenPKG OpenPKG CURRENT
  • OpenPKG OpenPKG Enterprise E1.0-SOLID
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • 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:

May 09, 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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page