Skip to navigation

Security Advisory cpio security update

Advisory: RHSA-2005:806-8
Type: Security Advisory
Severity: Low
Issued on: 2005-11-10
Last updated on: 2005-11-10
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Enterprise Linux ES (v. 2.1)
Red Hat Enterprise Linux WS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
CVEs (cve.mitre.org): CVE-1999-1572
CVE-2005-1111

Details

An updated cpio package that fixes multiple issues is now available.

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

GNU cpio copies files into or out of a cpio or tar archive.

A race condition bug was found in cpio. It is possible for a local
malicious user to modify the permissions of a local file if they have write
access to a directory in which a cpio archive is being extracted. The
Common Vulnerabilities and Exposures project has assigned the name
CVE-2005-1111 to this issue.

It was discovered that cpio uses a 0 umask when creating files using the -O
(archive) option. This creates output files with mode 0666 (all users can
read and write) regardless of the user's umask setting. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CVE-1999-1572 to this issue.

All users of cpio are advised to upgrade to this updated package, which
contains backported fixes for these issues.


Solution

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

This update is available via Red Hat Network. 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 Enterprise Linux AS (v. 2.1)

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/SRPMS/cpio-2.4.2-25.src.rpm
Missing file
    MD5: fb1356ef5473ad0fc59ef0e3b1763e25
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/i386/cpio-2.4.2-25.i386.rpm
Missing file
    MD5: 661957107d50447b2bd13a83713b7d92
 
IA-64:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/ia64/cpio-2.4.2-25.ia64.rpm
Missing file
    MD5: c49084cb373e105cdba632f58c7f2d3f
 
Red Hat Enterprise Linux ES (v. 2.1)

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/SRPMS/cpio-2.4.2-25.src.rpm
Missing file
    MD5: fb1356ef5473ad0fc59ef0e3b1763e25
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/i386/cpio-2.4.2-25.i386.rpm
Missing file
    MD5: 661957107d50447b2bd13a83713b7d92
 
Red Hat Enterprise Linux WS (v. 2.1)

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/SRPMS/cpio-2.4.2-25.src.rpm
Missing file
    MD5: fb1356ef5473ad0fc59ef0e3b1763e25
 
IA-32:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/i386/cpio-2.4.2-25.i386.rpm
Missing file
    MD5: 661957107d50447b2bd13a83713b7d92
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/SRPMS/cpio-2.4.2-25.src.rpm
Missing file
    MD5: fb1356ef5473ad0fc59ef0e3b1763e25
 
IA-64:
ftp://updates.redhat.com/rhn/repository/NULL/cpio/2.4.2-25/ia64/cpio-2.4.2-25.ia64.rpm
Missing file
    MD5: c49084cb373e105cdba632f58c7f2d3f
 

Bugs fixed (see bugzilla for more information)

169760 - CAN-2005-1111 Race condition in cpio
172191 - CVE-1999-1572 cpio insecure file creation


References



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/