Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   Zip Vendors:   Info-ZIP
(Fedora Issues Fix) Zip Buffer Overflow in Recursive Directory Compression Lets Local Users Execute Arbitrary Code
SecurityTracker Alert ID:  1013076
SecurityTracker URL:
CVE Reference:   CVE-2004-1010   (Links to External Site)
Date:  Feb 3 2005
Impact:   Execution of arbitrary code via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.3
Description:   A buffer overflow vulnerability was reported in Zip. A local user may be able to cause arbitrary code to be executed.

HexView reported that a local user can create a long path that, when compressed by Zip, will trigger a buffer overflow and possibly execute arbitrary code contained in a directory name or file name. The code will execute with the privileges of the user or process running Zip.

The original advisory is available at:

Impact:   A local user may be able to cause arbitrary code to be executed.
Solution:   Fedora has released a fix.

Fedora Core 1:



The verification checksums are:

SHA1 sum Package Name


Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Red Hat Fedora)
Underlying OS Comments:  FC1

Message History:   This archive entry is a follow-up to the message listed below.
Nov 4 2004 Zip Buffer Overflow in Recursive Directory Compression Lets Local Users Execute Arbitrary Code

 Source Message Contents

Subject:  [Full-Disclosure] [FLSA-2005:2255] Updated zip package fixes

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-type: multipart/signed;
	protocol="application/pgp-signature"; micalg=pgp-sha1

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

                Fedora Legacy Update Advisory

Synopsis:          Updated zip package fixes security issue
Advisory ID:       FLSA:2255
Issue date:        2005-02-01
Product:           Red Hat Linux, Fedora Core
Keywords:          Bugfix
Cross references:
CVE Names:         CAN-2004-1010

1. Topic:

An updated zip package that fixes a buffer overflow vulnerability is now

The zip program is an archiving utility which can create ZIP-compatible

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 9 - i386
Fedora Core 1 - i386

3. Problem description:

A buffer overflow bug has been discovered in zip when handling long file
names. An attacker could create a specially crafted path which could
cause zip to crash or execute arbitrary instructions. The Common
Vulnerabilities and Exposures project ( has assigned the
name CAN-2004-1010 to this issue.

Users of zip should upgrade to this updated package, which contains
backported patches and is not vulnerable to this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which
are not installed but included in the list will not be updated.  Note
that you can also use wildcards (*.rpm) if your current directory *only*
contains the desired RPMs.

Please note that this update is also available via yum and apt.  Many
people find this an easier way to apply updates.  To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the
appropriate RPMs being upgraded on your system.  This assumes that you
have yum or apt-get configured for obtaining Fedora Legacy content.
Please visit http://www for directions on how to
configure yum and apt-get.

5. Bug IDs fixed: - bug #2255 - zip long path buffer overflow

6. RPMs required:

Red Hat Linux 7.3:



Red Hat Linux 9:



Fedora Core 1:



7. Verification:

SHA1 sum                                 Package Name


These packages are GPG signed by Fedora Legacy for security.  Our key is
available from http://www.fedoralegacy org/about/security.php

You can verify each package with the following command:

     rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the sha1sum with the following command:

     sha1sum <filename>

8. References:

9. Contact:

The Fedora Legacy security contact is <>. More
project details at


Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -



Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Full-Disclosure - We believe in it.



Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC