Info-ZIP zip archive with long names buffer overflow
| infozip-zip-bo (17956) |
Description:
Info-ZIP is vulnerable to a buffer overflow, when a ZIP archive of files with long path names is created. An attacker could exploit this vulnerability and execute arbitrary code with privileges of the victim who calls zip.
Platforms Affected:
- Canonical, Ubuntu 4.10
- Debian, Debian Linux 3.0
- Gentoo, Linux
- Keith Petersen, Info-ZIP 2.3 and prior
- 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 9.2 AMD64
- MandrakeSoft, Mandrake Linux 9.2
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
- MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
- RedHat, Enterprise Linux 2.1 AW
- RedHat, Enterprise Linux 2.1 WS
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Enterprise Linux 3 WS
- RedHat, Enterprise Linux 3 ES
- RedHat, Enterprise Linux 3 AS
- RedHat, Enterprise Linux 3 Desktop
- RedHat, Linux Advanced Workstation 2.1 Itanium
- SuSE, SuSE Linux
- 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 Appliance Server 1.0
- Turbolinux, Turbolinux Home
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
Remedy:
For Ubuntu Linux:
Upgrade to the latest zip package (2.30-6ubuntu0.1 or later), as listed in USN-18-1 November 05, 2004. See References.
For Gentoo Linux:
Upgrade to the latest version of zip (2.3-r4 or later), as listed in GLSA 200411-16. See References.
For Mandrake Linux:
Upgrade to the latest zip package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:141 for more information. See References.
Mandrake Linux 10.1: 2.3-11.1.101mdk or later
Mandrake Linux 9.2: 2.3-11.1.92mdk or later
Mandrake Linux Corporate Server 2.1: 2.3-9.1.C21mdk or later
Mandrake Linux 10.0: 2.3-11.1.100mdk or later
For SUSE Linux:
Apply the appropriate fixed packages via the SUSE FTP server or the YaST Online Update, as listed in SUSE Security Summary Report SUSE-SR:2004:003. See References.
For Red Hat Linux:
Upgrade to the latest zip package, as listed below. Refer to RHSA-2004:634-08 for more information. See References.
Red Hat Enterprise Linux AS, ES, WS (v. 3) and Desktop 3: 2.3-16.1 or later
Red Hat Enterprise Linux AS, ES, WS (v. 2.1) and Red Hat Linux Advanced Workstation 2.1: 2.3-10.1 or later
For Debian GNU/Linux 3.0 (alias woody):
Upgrade to the latest version of zip (2.30-5woody2 or later), as listed in DSA-624-1. See References.
For Turbolinux:
Upgrade to the latest zip package, as listed below. Refer to Turbolinux Security Advisory TLSA-2005-18 for more information. See References.
Turbolinux Appliance Server 1.0 Hosting Edition: 2.3-5 or later
Turbolinux Appliance Server 1.0 Workgroup Edition: 2.3-5 or later
Turbolinux 10 Server: 2.3-5 or later
Turbolinux Home: 2.3-5 or later
Turbolinux 10 Desktop: 2.3-5 or later
Turbolinux 8 Server: 2.3-5 or later
Turbolinux 8 Workstation: 2.3-5 or later
Turbolinux 7 Server: 2.3-5 or later
Turbolinux 7 Workstation: 2.3-5 or later
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Denial of Service
References:
- CIAC Information Bulletin P-072, Updated ZIP Packages at http://www.ciac.org/ciac/bulletins/p-072.shtml.
- Full-Disclosure Mailing List, Wed Nov 03 2004 - 17:11:29 CST, Zip/Linux long path buffer overflow at http://archives.neohapsis.com/archives/fulldisclosure/2004-11/0112.html.
- Info-ZIP Web site, Info-ZIP Home Page at http://www.info-zip.org/.
- BID-11603: Info-ZIP Zip Remote Recursive Directory Compression Buffer Overflow Vulnerability
- CVE-2004-1010: Buffer overflow in Info-Zip 2.3 and possibly earlier versions, when using recursive folder compression, allows remote attackers to execute arbitrary code via a ZIP file containing a long pathname.
- DSA-624: zip -- buffer overflow
- GLSA-200411-16: zip: Path name buffer overflow
- MDKSA-2004:141: Updated zip packages fix vulnerability
- RHSA-2004-634: zip security update
- SUSE-SR:2004:003: SUSE Security Summary Report
Reported:
Nov 03, 2004
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
