DSA 664-1: New cpio packages fix insecure file permissions
Posted on: 02/02/2005 05:37 PM

New cpio packages are available for Debian GNU/Linux

---------------------------------------------------------------------------
Debian Security Advisory DSA 664-1 security@debian.org
http://www.debian.org/security/ Martin Schulze
February 2nd, 2005 http://www.debian.org/security/faq
---------------------------------------------------------------------------

Package : cpio
Vulnerability : broken file permissions
Problem-Type : local
Debian-specific: no
CVE ID : CAN-1999-1572

It has been discovered, that cpio, a program to manage archives of files, creates output files with -O and -F with broken permissions due to a reset zero umask which allows local users to read or overwrite those files.

For the stable distribution (woody) this problem has been fixed in version 2.4.2-39woody1

For the unstable distribution (sid) this problem will be fixed soon.

We recommend that you upgrade your cpio package.

Upgrade Instructions
---------------------

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
---------------------------------

Source archives:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1.dsc
Size/MD5 checksum: 549 45ee6d04cffc59c6e0d125ab269d8672
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1.diff.gz
Size/MD5 checksum: 22965 a5db2ad1ec00b2825bbdf4f0acaf8a84
http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2.orig.tar.gz
Size/MD5 checksum: 181728 3e976db71229d52a8a135540698052df

Alpha architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_alpha.deb
Size/MD5 checksum: 73064 029c7d1de8bff5d6f63c7702455c0e17

ARM architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_arm.deb
Size/MD5 checksum: 63746 05f2cee18a28822b4fbe0d54f2b0efcf

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_i386.deb
Size/MD5 checksum: 61382 2011b7b05347a22780fe5a2d2da77923

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_ia64.deb
Size/MD5 checksum: 84938 173755073bd59fee905debce08456824

HP Precision architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_hppa.deb
Size/MD5 checksum: 69512 e950b2aa1f51a0f9412c319888882496

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_m68k.deb
Size/MD5 checksum: 59714 c6c591c1839c464fb0cb2294d1758875

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_mips.deb
Size/MD5 checksum: 69094 8aee70b66943403293252649d4879134

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_mipsel.deb
Size/MD5 checksum: 68806 9e761f1fe3d156c5c557d3a28d51ab37

PowerPC architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_powerpc.deb
Size/MD5 checksum: 64084 f0fa8bf78610ed20b6135b4c7c04436c

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_s390.deb
Size/MD5 checksum: 63866 ba0b403eaee5bcd05d8d0cbf3c48cfcb

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/c/cpio/cpio_2.4.2-39woody1_sparc.deb
Size/MD5 checksum: 65818 f5e0c10d8e46321e8c584454402512c5


These files will probably be moved into the stable distribution on its next update.


Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/dsa_664_1_new_cpio_packages_fix_insecure_file_permissions.html)