Red Hat 9042 Published by

Updated cpio package are available for Red Hat Linux 9 and Fedora Core 1

---------------------------------------------------------------------
Fedora Legacy Update Advisory

Synopsis: Updated cpio package fixes security issue
Advisory ID: FLSA:152891
Issue date: 2005-07-15
Product: Red Hat Linux, Fedora Core
Keywords: Bugfix
CVE Names: CAN-1999-1572
---------------------------------------------------------------------


---------------------------------------------------------------------
1. Topic:

An updated cpio package that fixes a umask bug and supports large files (>2GB) is now available.

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

2. Relevant releases/architectures:

Red Hat Linux 9 - i386
Fedora Core 1 - i386



3. Problem description:

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 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 yum and apt. Many people find this an easier way to apply updates. To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate RPMs being upgraded on your system. This assumes that you have yum or apt-get configured for obtaining Fedora Legacy content. Please visit http://www.fedoralegacy.org/docs for directions on how to configure yum and apt-get.

5. Bug IDs fixed:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152891

6. RPMs required:

Red Hat Linux 9:

SRPM:
http://download.fedoralegacy.org/redhat/9/updates/SRPMS/cpio-2.5-3.2.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/9/updates/i386/cpio-2.5-3.2.legacy.i386.rpm

Fedora Core 1:

SRPM:
http://download.fedoralegacy.org/fedora/1/updates/SRPMS/cpio-2.5-5.2.legacy.src.rpm

i386:
http://download.fedoralegacy.org/fedora/1/updates/i386/cpio-2.5-5.2.legacy.i386.rpm


7. Verification:

SHA1 sum Package Name
---------------------------------------------------------------------

9f7b398cf0b0259eb983fa3f77aaae4558aa3f81
redhat/9/updates/i386/cpio-2.5-3.2.legacy.i386.rpm
afb4f3892398e6a08bb9f8f3016ffe4a33302fdc
redhat/9/updates/SRPMS/cpio-2.5-3.2.legacy.src.rpm
757cee489c9ceb9aa0d8c775a035cfbe5f1f93fe
fedora/1/updates/i386/cpio-2.5-5.2.legacy.i386.rpm
d78fe3e156c510479e55b52ec284b0ba04704909
fedora/1/updates/SRPMS/cpio-2.5-5.2.legacy.src.rpm

These packages are GPG signed by Fedora Legacy for security. Our key is available from http://www.fedoralegacy.org/about/security.php

You can verify each package with the following command:

rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or tampered with, examine only the sha1sum with the following command:

sha1sum <filename>

8. References:

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

9. Contact:

The Fedora Legacy security contact is <secnotice@fedoralegacy.org>. More project details at http://www.fedoralegacy.org