Users login

Create an account »


Users login

Home » Security Advisories» Fedora » Zip buffer overflow vulnerability

Zip buffer overflow vulnerability

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

  • Vendor: Fedora
  • Vendor ID: FLSA:2255
  • Date: February 01, 2005

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

7b1134632529e30a471d2ae038f414f407ac0d3e redhat/7.3/updates/i386/zip-2.3-
8db58039a432c0f0c9ff01e07b9190ad23ac4413 redhat/7.3/updates/SRPMS/zip-2.3-
95966b2b9fdac8f17c74226c3c033b24dd6c9226 redhat/9/updates/i386/zip-2.3-
92b76aadb2e46b57dd9b71927dada7b1c1154dae redhat/9/updates/SRPMS/zip-2.3-
9ef4498e118ca6b4a8f72b02fecde57924d51267 fedora/1/updates/i386/zip-2.3-26.1.1.legacy.i386.rpm
2dcdfc8e6ac63e2b74cf7c781c078773e0265eb8 fedora/1/updates/SRPMS/zip-2.3-26.1.1.legacy.src.rpm

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

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


8. References:

9. Contact:

The Fedora Legacy security contact is . More
project details at


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »