Ubuntu 6311 Published by

A cpio security update is available for Ubuntu Linux

==========================================================
Ubuntu Security Notice USN-75-1 February 04, 2005
cpio vulnerability
CAN-1999-1572
==========================================================

A security issue affects the following Ubuntu releases:

Ubuntu 4.10 (Warty Warthog)

The following packages are affected:

cpio

The problem can be corrected by upgrading the affected package to version 2.5-1.1ubuntu0.1. In general, a standard system upgrade is sufficient to effect the necessary changes.



Details follow:

Recently it was discovered that cpio created world-writeable files when used in -o/--create mode with giving an output file (with -O). This allowed any user to modify the created cpio archives. Now cpio respects the current umask setting of the user.

Note: This vulnerability has already been fixed in a very old version of cpio, but the fix was never ported to the current version. Therefore the CAN number was assigned to the year 1999.

Source archives:

http://security.ubuntu.com/ubuntu/pool/main/c/cpio/cpio_2.5-1.1ubuntu0.1.diff.gz
Size/MD5: 26221 3ca615bf2f07f822aeed0f0a7261b189
http://security.ubuntu.com/ubuntu/pool/main/c/cpio/cpio_2.5-1.1ubuntu0.1.dsc
Size/MD5: 551 608c00fb079a716aaa0cd22ecb3481b0
http://security.ubuntu.com/ubuntu/pool/main/c/cpio/cpio_2.5.orig.tar.gz
Size/MD5: 185480 e02859af1bbbbd73fcbf757acb57e0a4

amd64 architecture (Athlon64, Opteron, EM64T Xeon)

http://security.ubuntu.com/ubuntu/pool/main/c/cpio/cpio_2.5-1.1ubuntu0.1_amd64.deb
Size/MD5: 68180 4a4263672519f5b84d251ea80c7647cb

i386 architecture (x86 compatible Intel/AMD)

http://security.ubuntu.com/ubuntu/pool/main/c/cpio/cpio_2.5-1.1ubuntu0.1_i386.deb
Size/MD5: 63608 a2c9334648f310639fc23b641abf81c0

powerpc architecture (Apple Macintosh G3/G4/G5)

http://security.ubuntu.com/ubuntu/pool/main/c/cpio/cpio_2.5-1.1ubuntu0.1_powerpc.deb
Size/MD5: 67190 0e150800f5b5b95f2c1d6516138c3c0c