Skip to navigation

Security Advisory gzip security update

Advisory: RHSA-2005:357-19
Type: Security Advisory
Severity: Low
Issued on: 2005-06-13
Last updated on: 2005-06-13
Affected Products: Red Hat Desktop (v. 3)
Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux AS (v. 3)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux ES (v. 3)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Enterprise Linux WS (v. 3)
Red Hat Enterprise Linux WS (v. 4)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-2005-0758
CVE-2005-0988
CVE-2005-1228

Details

An updated gzip package is now available.

This update has been rated as having low security impact by the Red Hat
Security Response Team.

The gzip package contains the GNU gzip data compression program.

A bug was found in the way zgrep processes file names. If a user can be
tricked into running zgrep on a file with a carefully crafted file name,
arbitrary commands could be executed as the user running zgrep. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2005-0758 to this issue.

A bug was found in the way gunzip modifies permissions of files being
decompressed. A local attacker with write permissions in the directory in
which a victim is decompressing a file could remove the file being written
and replace it with a hard link to a different file owned by the victim.
gunzip then gives the linked file the permissions of the uncompressed file.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2005-0988 to this issue.

A directory traversal bug was found in the way gunzip processes the -N
flag. If a victim decompresses a file with the -N flag, gunzip fails to
sanitize the path which could result in a file owned by the victim being
overwritten. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2005-1228 to this issue.

Users of gzip should upgrade to this updated package, which contains
backported patches to correct these issues.


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 Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Desktop (v. 3)

SRPMS:
gzip-1.3.3-12.rhel3.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: c782da7e04807a88d25df7827a106d8c
 
IA-32:
gzip-1.3.3-12.rhel3.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: 1f9538d3128e0bcc76736323385e2220
 
x86_64:
gzip-1.3.3-12.rhel3.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 483982c10b5e7d5d0fe050c409fad0d1
 
Red Hat Desktop (v. 4)

SRPMS:
gzip-1.3.3-15.rhel4.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: 2ab2fa50a597a9a99484b40e1a15f510
 
IA-32:
gzip-1.3.3-15.rhel4.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: bab580dbcc384693e2c60c9c4eeb743c
 
x86_64:
gzip-1.3.3-15.rhel4.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 20aa8fe74a5db703c86f82329d2b3b7e
 
Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
gzip-1.3-18.rhel2.src.rpm
File outdated by:  RHSA-2006:0667
    MD5: 050bb94660b780e46c007801901d1f48
 
IA-32:
gzip-1.3-18.rhel2.i386.rpm
File outdated by:  RHSA-2006:0667
    MD5: a9c2aeef541764f49a88ecac9c3d9df3
 
IA-64:
gzip-1.3-18.rhel2.ia64.rpm
File outdated by:  RHSA-2006:0667
    MD5: 21a0525f3e99b47785846b68f7a12e14
 
Red Hat Enterprise Linux AS (v. 3)

SRPMS:
gzip-1.3.3-12.rhel3.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: c782da7e04807a88d25df7827a106d8c
 
IA-32:
gzip-1.3.3-12.rhel3.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: 1f9538d3128e0bcc76736323385e2220
 
IA-64:
gzip-1.3.3-12.rhel3.ia64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 6ac0ce3ed4161bce4e767737923c1886
 
PPC:
gzip-1.3.3-12.rhel3.ppc.rpm
File outdated by:  RHSA-2010:0061
    MD5: 6c44dc3336b806231012820e460de026
 
s390:
gzip-1.3.3-12.rhel3.s390.rpm
File outdated by:  RHSA-2010:0061
    MD5: 60174ff6847b82896ffd07669e483393
 
s390x:
gzip-1.3.3-12.rhel3.s390x.rpm
File outdated by:  RHSA-2010:0061
    MD5: 3a38fb878896505c3a96cc4b0ddae4b8
 
x86_64:
gzip-1.3.3-12.rhel3.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 483982c10b5e7d5d0fe050c409fad0d1
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
gzip-1.3.3-15.rhel4.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: 2ab2fa50a597a9a99484b40e1a15f510
 
IA-32:
gzip-1.3.3-15.rhel4.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: bab580dbcc384693e2c60c9c4eeb743c
 
IA-64:
gzip-1.3.3-15.rhel4.ia64.rpm
File outdated by:  RHSA-2010:0061
    MD5: c1ad3d861270717a1c492f1e962aaab0
 
PPC:
gzip-1.3.3-15.rhel4.ppc.rpm
File outdated by:  RHSA-2010:0061
    MD5: 46a890b156a25e7390961011aa1f99b3
 
s390:
gzip-1.3.3-15.rhel4.s390.rpm
File outdated by:  RHSA-2010:0061
    MD5: 8adbf741f5f5b0b78f153acf305be1b8
 
s390x:
gzip-1.3.3-15.rhel4.s390x.rpm
File outdated by:  RHSA-2010:0061
    MD5: 1656bd93bd9765203bf9996e54148d90
 
x86_64:
gzip-1.3.3-15.rhel4.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 20aa8fe74a5db703c86f82329d2b3b7e
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
gzip-1.3-18.rhel2.src.rpm
File outdated by:  RHSA-2006:0667
    MD5: 050bb94660b780e46c007801901d1f48
 
IA-32:
gzip-1.3-18.rhel2.i386.rpm
File outdated by:  RHSA-2006:0667
    MD5: a9c2aeef541764f49a88ecac9c3d9df3
 
Red Hat Enterprise Linux ES (v. 3)

SRPMS:
gzip-1.3.3-12.rhel3.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: c782da7e04807a88d25df7827a106d8c
 
IA-32:
gzip-1.3.3-12.rhel3.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: 1f9538d3128e0bcc76736323385e2220
 
IA-64:
gzip-1.3.3-12.rhel3.ia64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 6ac0ce3ed4161bce4e767737923c1886
 
x86_64:
gzip-1.3.3-12.rhel3.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 483982c10b5e7d5d0fe050c409fad0d1
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
gzip-1.3.3-15.rhel4.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: 2ab2fa50a597a9a99484b40e1a15f510
 
IA-32:
gzip-1.3.3-15.rhel4.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: bab580dbcc384693e2c60c9c4eeb743c
 
IA-64:
gzip-1.3.3-15.rhel4.ia64.rpm
File outdated by:  RHSA-2010:0061
    MD5: c1ad3d861270717a1c492f1e962aaab0
 
x86_64:
gzip-1.3.3-15.rhel4.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 20aa8fe74a5db703c86f82329d2b3b7e
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
gzip-1.3-18.rhel2.src.rpm
File outdated by:  RHSA-2006:0667
    MD5: 050bb94660b780e46c007801901d1f48
 
IA-32:
gzip-1.3-18.rhel2.i386.rpm
File outdated by:  RHSA-2006:0667
    MD5: a9c2aeef541764f49a88ecac9c3d9df3
 
Red Hat Enterprise Linux WS (v. 3)

SRPMS:
gzip-1.3.3-12.rhel3.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: c782da7e04807a88d25df7827a106d8c
 
IA-32:
gzip-1.3.3-12.rhel3.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: 1f9538d3128e0bcc76736323385e2220
 
IA-64:
gzip-1.3.3-12.rhel3.ia64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 6ac0ce3ed4161bce4e767737923c1886
 
x86_64:
gzip-1.3.3-12.rhel3.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 483982c10b5e7d5d0fe050c409fad0d1
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
gzip-1.3.3-15.rhel4.src.rpm
File outdated by:  RHSA-2010:0061
    MD5: 2ab2fa50a597a9a99484b40e1a15f510
 
IA-32:
gzip-1.3.3-15.rhel4.i386.rpm
File outdated by:  RHSA-2010:0061
    MD5: bab580dbcc384693e2c60c9c4eeb743c
 
IA-64:
gzip-1.3.3-15.rhel4.ia64.rpm
File outdated by:  RHSA-2010:0061
    MD5: c1ad3d861270717a1c492f1e962aaab0
 
x86_64:
gzip-1.3.3-15.rhel4.x86_64.rpm
File outdated by:  RHSA-2010:0061
    MD5: 20aa8fe74a5db703c86f82329d2b3b7e
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
gzip-1.3-18.rhel2.src.rpm
File outdated by:  RHSA-2006:0667
    MD5: 050bb94660b780e46c007801901d1f48
 
IA-64:
gzip-1.3-18.rhel2.ia64.rpm
File outdated by:  RHSA-2006:0667
    MD5: 21a0525f3e99b47785846b68f7a12e14
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

121514 - CAN-2005-0758 zgrep has security issue in sed usage
155745 - CAN-2005-0988 Race condition in gzip
156266 - CAN-2005-1228 directory traversal bug


References


Keywords

gzip, sed


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/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/