DSA 730-1: New bzip2 packages fix file unauthorised permissions modification
Posted on: 05/28/2005 06:11 AM

New bzip2 packages are available for Debian GNU/Linux

---------------------------------------------------------------------------
Debian Security Advisory DSA 730-1 security@debian.org
http://www.debian.org/security/ Martin Schulze
May 27th, 2005 http://www.debian.org/security/faq
---------------------------------------------------------------------------

Package : bzip2
Vulnerability : race condition
Problem-Type : local
Debian-specific: no
CVE ID : CAN-2005-0953
Debian Bug : 303300

Imran Ghory discovered a race condition in bzip2, a high-quality block-sorting file compressor and decompressor. When decompressing a file in a directory an attacker has access to, bunzip2 could be tricked to set the file permissions to a different file the user has permissions to.

For the stable distribution (woody) this problem has been fixed in version 1.0.2-1.woody2

For the testing distribution (sarge) this problem has been fixed in version 1.0.2-6.

For the unstable distribution (sid) this problem has been fixed in version 1.0.2-6.

We recommend that you upgrade your bzip2 packages.

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/b/bzip2/bzip2_1.0.2-1.woody2.dsc
Size/MD5 checksum: 577 096bfd852f8d33c3e14d3988982a1569
http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2.diff.gz
Size/MD5 checksum: 8674 edf89c2f7477c6bf7c326cd498c93cf6
http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2.orig.tar.gz
Size/MD5 checksum: 665198 ee76864958d568677f03db8afad92beb

Alpha architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_alpha.deb
Size/MD5 checksum: 233744 aa8f40bff85ef6090f9ac33b9b6464ea
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_alpha.deb
Size/MD5 checksum: 44328 4916e3d394339d4ac0b933e0cd088e09
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_alpha.deb
Size/MD5 checksum: 38642 17ad994adcaa7ea7821e51e2aca4352b

ARM architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_arm.deb
Size/MD5 checksum: 230336 8877499a4487ab422acf71a3aa6476ba
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_arm.deb
Size/MD5 checksum: 38586 033422c75005dcecfa37dde46f82b01e
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_arm.deb
Size/MD5 checksum: 35514 a052d0a8de9154752998080e6bba12e6

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_i386.deb
Size/MD5 checksum: 228718 644eab4e2e3ca86af9712bf4965b4d08
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_i386.deb
Size/MD5 checksum: 35610 c96ec29b510971a9f1043c68055643dc
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_i386.deb
Size/MD5 checksum: 28286 da5e7f1f21027869052f17ac01fd5a44

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_ia64.deb
Size/MD5 checksum: 238402 4d4183e3ef12a05bbeba5f108ad29456
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_ia64.deb
Size/MD5 checksum: 53442 4c16e9b4a96ca9a5e32b4fd9f1c2845b
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_ia64.deb
Size/MD5 checksum: 47392 23203deabd2344704d752ecd67d2865a

HP Precision architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_hppa.deb
Size/MD5 checksum: 232086 9413d168e09066a2a2620ff17fabdbc0
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_hppa.deb
Size/MD5 checksum: 40842 ff96499e343c263424e3261177a6332d
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_hppa.deb
Size/MD5 checksum: 33662 33b200e35cc2752165be44a30d3d2bc4

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_m68k.deb
Size/MD5 checksum: 227796 4d2506ded26c2fd0cc4f8096f72457eb
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_m68k.deb
Size/MD5 checksum: 33518 bb85503df1c97f9bb42f9db24fbcb2d1
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_m68k.deb
Size/MD5 checksum: 26330 61e92e6862e8c42042c61d437f3077b7

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_mips.deb
Size/MD5 checksum: 231162 f8a5f09c553bc1ac94d7440480c0fe14
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_mips.deb
Size/MD5 checksum: 37450 4ea2c17ba704c7d770794c7c31ea3814
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_mips.deb
Size/MD5 checksum: 32796 6adfdb5d25347f4b0f2d0e19e6de8958

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_mipsel.deb
Size/MD5 checksum: 231086 9750001ec050e617fd2ba27f068ef8d6
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_mipsel.deb
Size/MD5 checksum: 37550 1a6b8624877870c4196ef15dc8c289d7
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_mipsel.deb
Size/MD5 checksum: 32980 c569f1ca4fd75aa9f5df397402b59517

PowerPC architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_powerpc.deb
Size/MD5 checksum: 229524 f21c4e243d427351d41cfb5637a3162c
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_powerpc.deb
Size/MD5 checksum: 37510 5ec6346ca8ee4c06a2230cb3f259a7dc
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_powerpc.deb
Size/MD5 checksum: 31560 a924cfaa4f09d2de69c970452963734a

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_s390.deb
Size/MD5 checksum: 230292 67c208cdc3fcfe7f5d605ae8d7ae4276
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_s390.deb
Size/MD5 checksum: 38390 72d45a72313d1c62089e5d7fb31bd748
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_s390.deb
Size/MD5 checksum: 31756 620ae0df40745b49b7325aa89f411cd1

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/b/bzip2/bzip2_1.0.2-1.woody2_sparc.deb
Size/MD5 checksum: 236378 d916415cba9afc2e5063b03c6db123d4
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-1.0_1.0.2-1.woody2_sparc.deb
Size/MD5 checksum: 37024 eb236a798bc8ab0d889df8d24487b875
http://security.debian.org/pool/updates/main/b/bzip2/libbz2-dev_1.0.2-1.woody2_sparc.deb
Size/MD5 checksum: 30686 10ad046933e4a007bef6b82345a2d6ab


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_730_1_new_bzip2_packages_fix_file_unauthorised_permissions_modification.html)