Red Hat: zip security issue fix | LinuxSecurity.com

Advisories


---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated zip package fixes security issue
Advisory ID:       RHSA-2004:634-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2004-634.html
Issue date:        2004-12-16
Updated on:        2004-12-16
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-1010
---------------------------------------------------------------------

1. Summary:

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

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

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

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 (cve.mitre.org) 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 that all previously-released
errata relevant to your system have been applied.  Use Red Hat
Network to download and update your packages.  To launch the Red Hat
Update Agent, use the following command:

    up2date

For information on how to install packages manually, refer to the
following Web page for the System Administration or Customization
guide specific to your system:

    https://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (https://bugzilla.redhat.com/ for more info):

138228 - CAN-2004-1010 buffer overflow when creating archive containing very long filenames.

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/zip-2.3-10.1.src.rpm
b062c345c3d6c56ed1c042145643c8c8  zip-2.3-10.1.src.rpm

i386:
a06a150a5652173a8309cca26cc3c70f  zip-2.3-10.1.i386.rpm

ia64:
6cab305bdaca789e53e760184050fab9  zip-2.3-10.1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/zip-2.3-10.1.src.rpm
b062c345c3d6c56ed1c042145643c8c8  zip-2.3-10.1.src.rpm

ia64:
6cab305bdaca789e53e760184050fab9  zip-2.3-10.1.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/zip-2.3-10.1.src.rpm
b062c345c3d6c56ed1c042145643c8c8  zip-2.3-10.1.src.rpm

i386:
a06a150a5652173a8309cca26cc3c70f  zip-2.3-10.1.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/zip-2.3-10.1.src.rpm
b062c345c3d6c56ed1c042145643c8c8  zip-2.3-10.1.src.rpm

i386:
a06a150a5652173a8309cca26cc3c70f  zip-2.3-10.1.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/zip-2.3-16.1.src.rpm
aa360ac25cf50772fd010cf2d1d91db7  zip-2.3-16.1.src.rpm

i386:
41fec60bfbbca5266e4bbff55f42031a  zip-2.3-16.1.i386.rpm

ia64:
0b8464b40ec9d081dd36ab9d699a4c1c  zip-2.3-16.1.ia64.rpm

ppc:
787ad3673b90f4fcb0d47c815ca984f6  zip-2.3-16.1.ppc.rpm

s390:
97c709a606b3cec173833833b24c704b  zip-2.3-16.1.s390.rpm

s390x:
4d1f10e6b1e4247cb037eb42c8fcc796  zip-2.3-16.1.s390x.rpm

x86_64:
1ed34c119e86a0c739c1c5bb706ffb69  zip-2.3-16.1.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/zip-2.3-16.1.src.rpm
aa360ac25cf50772fd010cf2d1d91db7  zip-2.3-16.1.src.rpm

i386:
41fec60bfbbca5266e4bbff55f42031a  zip-2.3-16.1.i386.rpm

x86_64:
1ed34c119e86a0c739c1c5bb706ffb69  zip-2.3-16.1.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/zip-2.3-16.1.src.rpm
aa360ac25cf50772fd010cf2d1d91db7  zip-2.3-16.1.src.rpm

i386:
41fec60bfbbca5266e4bbff55f42031a  zip-2.3-16.1.i386.rpm

ia64:
0b8464b40ec9d081dd36ab9d699a4c1c  zip-2.3-16.1.ia64.rpm

x86_64:
1ed34c119e86a0c739c1c5bb706ffb69  zip-2.3-16.1.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/zip-2.3-16.1.src.rpm
aa360ac25cf50772fd010cf2d1d91db7  zip-2.3-16.1.src.rpm

i386:
41fec60bfbbca5266e4bbff55f42031a  zip-2.3-16.1.i386.rpm

ia64:
0b8464b40ec9d081dd36ab9d699a4c1c  zip-2.3-16.1.ia64.rpm

x86_64:
1ed34c119e86a0c739c1c5bb706ffb69  zip-2.3-16.1.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from
https://www.redhat.com/security/team/key.html#package

7. References:

https://lists.netsys.com/pipermail/full-disclosure/2004-November/028379.html
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1010

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.

Red Hat: zip security issue fix

Summary

Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system:

https://www.redhat.com/docs/manuals/enterprise/

5. Bug IDs fixed (https://bugzilla.redhat.com/ for more info):

138228 - CAN-2004-1010 buffer overflow when creating archive containing very long filenames.

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/zip-2.3-10.1.src.rpm b062c345c3d6c56ed1c042145643c8c8 zip-2.3-10.1.src.rpm

i386: a06a150a5652173a8309cca26cc3c70f zip-2.3-10.1.i386.rpm

ia64: 6cab305bdaca789e53e760184050fab9 zip-2.3-10.1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/zip-2.3-10.1.src.rpm b062c345c3d6c56ed1c042145643c8c8 zip-2.3-10.1.src.rpm

ia64: 6cab305bdaca789e53e760184050fab9 zip-2.3-10.1.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/zip-2.3-10.1.src.rpm b062c345c3d6c56ed1c042145643c8c8 zip-2.3-10.1.src.rpm

i386: a06a150a5652173a8309cca26cc3c70f zip-2.3-10.1.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS: ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/zip-2.3-10.1.src.rpm b062c345c3d6c56ed1c042145643c8c8 zip-2.3-10.1.src.rpm

i386: a06a150a5652173a8309cca26cc3c70f zip-2.3-10.1.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS: ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/zip-2.3-16.1.src.rpm aa360ac25cf50772fd010cf2d1d91db7 zip-2.3-16.1.src.rpm

i386: 41fec60bfbbca5266e4bbff55f42031a zip-2.3-16.1.i386.rpm

ia64: 0b8464b40ec9d081dd36ab9d699a4c1c zip-2.3-16.1.ia64.rpm

ppc: 787ad3673b90f4fcb0d47c815ca984f6 zip-2.3-16.1.ppc.rpm

s390: 97c709a606b3cec173833833b24c704b zip-2.3-16.1.s390.rpm

s390x: 4d1f10e6b1e4247cb037eb42c8fcc796 zip-2.3-16.1.s390x.rpm

x86_64: 1ed34c119e86a0c739c1c5bb706ffb69 zip-2.3-16.1.x86_64.rpm

Red Hat Desktop version 3:

SRPMS: ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/zip-2.3-16.1.src.rpm aa360ac25cf50772fd010cf2d1d91db7 zip-2.3-16.1.src.rpm

i386: 41fec60bfbbca5266e4bbff55f42031a zip-2.3-16.1.i386.rpm

x86_64: 1ed34c119e86a0c739c1c5bb706ffb69 zip-2.3-16.1.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS: ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/zip-2.3-16.1.src.rpm aa360ac25cf50772fd010cf2d1d91db7 zip-2.3-16.1.src.rpm

i386: 41fec60bfbbca5266e4bbff55f42031a zip-2.3-16.1.i386.rpm

ia64: 0b8464b40ec9d081dd36ab9d699a4c1c zip-2.3-16.1.ia64.rpm

x86_64: 1ed34c119e86a0c739c1c5bb706ffb69 zip-2.3-16.1.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS: ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/zip-2.3-16.1.src.rpm aa360ac25cf50772fd010cf2d1d91db7 zip-2.3-16.1.src.rpm

i386: 41fec60bfbbca5266e4bbff55f42031a zip-2.3-16.1.i386.rpm

ia64: 0b8464b40ec9d081dd36ab9d699a4c1c zip-2.3-16.1.ia64.rpm

x86_64: 1ed34c119e86a0c739c1c5bb706ffb69 zip-2.3-16.1.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key.html#package

References

https://lists.netsys.com/pipermail/full-disclosure/2004-November/028379.html https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1010

Package List

Severity
Advisory ID: RHSA-2004:634-01
Advisory URL: https://rhn.redhat.com/errata/RHSA-2004-634.html
Issued Date: : 2004-12-16
Updated on: 2004-12-16
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-1010 ---------------------------------------------------------------------

Topic

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

Relevant Releases Architectures

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64

Red Hat Linux Advanced Workstation 2.1 - ia64

Red Hat Enterprise Linux ES version 2.1 - i386

Red Hat Enterprise Linux WS version 2.1 - i386

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64

Red Hat Desktop version 3 - i386, x86_64

Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64

Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Problem description:

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

archives.

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 (cve.mitre.org) 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.

Bugs Fixed

We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.