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

Synopsis:          Low: cpio security update
Advisory ID:       RHSA-2005:080-01
Advisory URL:      https://access.redhat.com/errata/RHSA-2005:080.html
Issue date:        2005-02-18
Updated on:        2005-02-18
Product:           Red Hat Enterprise Linux
Keywords:          cpio umask
CVE Names:         CAN-1999-1572
- ---------------------------------------------------------------------1. Summary:

An updated cpio package that fixes a umask bug and supports large files
(>2GB) 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 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:

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

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 can read
and write) regardless of the user's umask setting. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-1999-1572 to this issue.

All users of cpio should upgrade to this updated package, which resolves
this issue, and adds support for large files (> 2GB).

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/):

145720 - CAN-1999-1572 cpio insecure file creation
105617 - cpio does not support large files > 2GB
144688 - cpio fails to unpack initrd on ppc

6. RPMs required:

Red Hat Enterprise Linux AS version 3:

SRPMS:
53c26afeb29e541f23e3bf74049632e0  cpio-2.5-3e.3.src.rpm

i386:
2f7640bac79d70881542b4ea2f27b9a9  cpio-2.5-3e.3.i386.rpm

ia64:
af616c0444113d8056fc9b462da9ea1e  cpio-2.5-3e.3.ia64.rpm

ppc:
b7af34936d1cf57f43ae4f47cdb4a320  cpio-2.5-3e.3.ppc.rpm

s390:
6a3deef23563bffca6a8b50cc153408a  cpio-2.5-3e.3.s390.rpm

s390x:
67ea8870629f5355f5935699c19e95a9  cpio-2.5-3e.3.s390x.rpm

x86_64:
64839becc965195850d50c074c375a68  cpio-2.5-3e.3.x86_64.rpm

Red Hat Desktop version 3:

SRPMS:
53c26afeb29e541f23e3bf74049632e0  cpio-2.5-3e.3.src.rpm

i386:
2f7640bac79d70881542b4ea2f27b9a9  cpio-2.5-3e.3.i386.rpm

x86_64:
64839becc965195850d50c074c375a68  cpio-2.5-3e.3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

SRPMS:
53c26afeb29e541f23e3bf74049632e0  cpio-2.5-3e.3.src.rpm

i386:
2f7640bac79d70881542b4ea2f27b9a9  cpio-2.5-3e.3.i386.rpm

ia64:
af616c0444113d8056fc9b462da9ea1e  cpio-2.5-3e.3.ia64.rpm

x86_64:
64839becc965195850d50c074c375a68  cpio-2.5-3e.3.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

SRPMS:
53c26afeb29e541f23e3bf74049632e0  cpio-2.5-3e.3.src.rpm

i386:
2f7640bac79d70881542b4ea2f27b9a9  cpio-2.5-3e.3.i386.rpm

ia64:
af616c0444113d8056fc9b462da9ea1e  cpio-2.5-3e.3.ia64.rpm

x86_64:
64839becc965195850d50c074c375a68  cpio-2.5-3e.3.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=CAN-1999-1572

8. Contact:

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

Copyright 2005 Red Hat, Inc.

RedHat: Low: cpio security update

An updated cpio package that fixes a umask bug and supports large files (>2GB) is now available. This update has been rated as having low security impact by the Red Hat Secur...

Summary



Summary

GNU cpio copies files into or out of a cpio or tar archive. 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 can read and write) regardless of the user's umask setting. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-1999-1572 to this issue. All users of cpio should upgrade to this updated package, which resolves this issue, and adds support for large files (> 2GB).


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/):
145720 - CAN-1999-1572 cpio insecure file creation 105617 - cpio does not support large files > 2GB 144688 - cpio fails to unpack initrd on ppc
6. RPMs required:
Red Hat Enterprise Linux AS version 3:
SRPMS: 53c26afeb29e541f23e3bf74049632e0 cpio-2.5-3e.3.src.rpm
i386: 2f7640bac79d70881542b4ea2f27b9a9 cpio-2.5-3e.3.i386.rpm
ia64: af616c0444113d8056fc9b462da9ea1e cpio-2.5-3e.3.ia64.rpm
ppc: b7af34936d1cf57f43ae4f47cdb4a320 cpio-2.5-3e.3.ppc.rpm
s390: 6a3deef23563bffca6a8b50cc153408a cpio-2.5-3e.3.s390.rpm
s390x: 67ea8870629f5355f5935699c19e95a9 cpio-2.5-3e.3.s390x.rpm
x86_64: 64839becc965195850d50c074c375a68 cpio-2.5-3e.3.x86_64.rpm
Red Hat Desktop version 3:
SRPMS: 53c26afeb29e541f23e3bf74049632e0 cpio-2.5-3e.3.src.rpm
i386: 2f7640bac79d70881542b4ea2f27b9a9 cpio-2.5-3e.3.i386.rpm
x86_64: 64839becc965195850d50c074c375a68 cpio-2.5-3e.3.x86_64.rpm
Red Hat Enterprise Linux ES version 3:
SRPMS: 53c26afeb29e541f23e3bf74049632e0 cpio-2.5-3e.3.src.rpm
i386: 2f7640bac79d70881542b4ea2f27b9a9 cpio-2.5-3e.3.i386.rpm
ia64: af616c0444113d8056fc9b462da9ea1e cpio-2.5-3e.3.ia64.rpm
x86_64: 64839becc965195850d50c074c375a68 cpio-2.5-3e.3.x86_64.rpm
Red Hat Enterprise Linux WS version 3:
SRPMS: 53c26afeb29e541f23e3bf74049632e0 cpio-2.5-3e.3.src.rpm
i386: 2f7640bac79d70881542b4ea2f27b9a9 cpio-2.5-3e.3.i386.rpm
ia64: af616c0444113d8056fc9b462da9ea1e cpio-2.5-3e.3.ia64.rpm
x86_64: 64839becc965195850d50c074c375a68 cpio-2.5-3e.3.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

References

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-1999-1572

Package List


Severity
Advisory ID: RHSA-2005:080-01
Advisory URL: https://access.redhat.com/errata/RHSA-2005:080.html
Issued Date: : 2005-02-18
Updated on: 2005-02-18
Product: Red Hat Enterprise Linux
Keywords: cpio umask
CVE Names: CAN-1999-1572 An updated cpio package that fixes a umask bug and supports large files (>2GB) is now available. This update has been rated as having low security impact by the Red Hat Security Response Team

Topic


Topic


 

Relevant Releases Architectures

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


Bugs Fixed


Related News