RedHat: Low: tar security update
Posted by Benjamin D. Thomas   
RedHat Linux An updated tar package that fixes a path traversal flaw is now available. This update has been rated as having low security impact by the Red Hat Security Response Team.
- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Low: tar security update
Advisory ID:       RHSA-2006:0195-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2006-0195.html
Issue date:        2006-02-21
Updated on:        2006-02-21
Product:           Red Hat Enterprise Linux
CVE Names:         CVE-2005-1918
- ---------------------------------------------------------------------

1. Summary:

An updated tar package that fixes a path traversal flaw is now available.

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

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 GNU tar program saves many files together in one archive and can
restore individual files (or all of the files) from that archive. 

In 2002, a path traversal flaw was found in the way GNU tar extracted
archives. A malicious user could create a tar archive that could write to
arbitrary files to which the user running GNU tar has write access
(CVE-2002-0399).  Red Hat included a backported security patch to correct
this issue in Red Hat Enterprise Linux 3, and an erratum for Red Hat
Enterprise Linux 2.1 users was issued.

During internal testing, we discovered that our backported security patch
contained an incorrect optimization and therefore was not sufficient to
completely correct this vulnerability.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) assigned the name CVE-2005-1918 to this
issue.

Users of tar should upgrade to this updated package, which contains a
replacement backported patch to correct 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:

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

5. Bug IDs fixed (http://bugzilla.redhat.com/):

140589 - CVE-2005-1918 tar archive path traversal issue
140598 - CVE-2005-1918 tar archive path traversal issue


6. RPMs required:

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

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/tar-1.13.25-5.AS21.1.src.rpm
845a820b30ac72349c6a0b8184a86d2c  tar-1.13.25-5.AS21.1.src.rpm

i386:
54cb06fab08c95c25eea7ade716d71c7  tar-1.13.25-5.AS21.1.i386.rpm

ia64:
cd7c0eb50dffd11cf0cbdd881825a8cc  tar-1.13.25-5.AS21.1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/tar-1.13.25-5.AS21.1.src.rpm
845a820b30ac72349c6a0b8184a86d2c  tar-1.13.25-5.AS21.1.src.rpm

ia64:
cd7c0eb50dffd11cf0cbdd881825a8cc  tar-1.13.25-5.AS21.1.ia64.rpm

Red Hat Enterprise Linux ES version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1ES/en/os/SRPMS/tar-1.13.25-5.AS21.1.src.rpm
845a820b30ac72349c6a0b8184a86d2c  tar-1.13.25-5.AS21.1.src.rpm

i386:
54cb06fab08c95c25eea7ade716d71c7  tar-1.13.25-5.AS21.1.i386.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/tar-1.13.25-5.AS21.1.src.rpm
845a820b30ac72349c6a0b8184a86d2c  tar-1.13.25-5.AS21.1.src.rpm

i386:
54cb06fab08c95c25eea7ade716d71c7  tar-1.13.25-5.AS21.1.i386.rpm

Red Hat Enterprise Linux AS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/tar-1.13.25-14.RHEL3.src.rpm
a417c5eee303ba02e82d5e3dd51a90c9  tar-1.13.25-14.RHEL3.src.rpm

i386:
774d7a899b21106977e6f97ac21c60d6  tar-1.13.25-14.RHEL3.i386.rpm

ia64:
9c280f3ef92ac03b0c5f58d0f0bfb1be  tar-1.13.25-14.RHEL3.ia64.rpm

ppc:
8541793f7153051ca270c8f778813ec5  tar-1.13.25-14.RHEL3.ppc.rpm

s390:
96945481f9c6429850ab676fa622f7b5  tar-1.13.25-14.RHEL3.s390.rpm

s390x:
cec08d4de830f20e40ec351a827ec5f6  tar-1.13.25-14.RHEL3.s390x.rpm

x86_64:
dafe232a7b44dd14476a86abea130c69  tar-1.13.25-14.RHEL3.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/tar-1.13.25-14.RHEL3.src.rpm
a417c5eee303ba02e82d5e3dd51a90c9  tar-1.13.25-14.RHEL3.src.rpm

i386:
774d7a899b21106977e6f97ac21c60d6  tar-1.13.25-14.RHEL3.i386.rpm

x86_64:
dafe232a7b44dd14476a86abea130c69  tar-1.13.25-14.RHEL3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/tar-1.13.25-14.RHEL3.src.rpm
a417c5eee303ba02e82d5e3dd51a90c9  tar-1.13.25-14.RHEL3.src.rpm

i386:
774d7a899b21106977e6f97ac21c60d6  tar-1.13.25-14.RHEL3.i386.rpm

ia64:
9c280f3ef92ac03b0c5f58d0f0bfb1be  tar-1.13.25-14.RHEL3.ia64.rpm

x86_64:
dafe232a7b44dd14476a86abea130c69  tar-1.13.25-14.RHEL3.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/tar-1.13.25-14.RHEL3.src.rpm
a417c5eee303ba02e82d5e3dd51a90c9  tar-1.13.25-14.RHEL3.src.rpm

i386:
774d7a899b21106977e6f97ac21c60d6  tar-1.13.25-14.RHEL3.i386.rpm

ia64:
9c280f3ef92ac03b0c5f58d0f0bfb1be  tar-1.13.25-14.RHEL3.ia64.rpm

x86_64:
dafe232a7b44dd14476a86abea130c69  tar-1.13.25-14.RHEL3.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/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1918

8. Contact:

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

Copyright 2006 Red Hat, Inc.