Home page logo
/

fulldisclosure logo Full Disclosure mailing list archives

[SECURITY] [DSA 903-2] New unzip packages fix unauthorised permissions modification
From: joey () infodrom org (Martin Schulze)
Date: Thu, 12 Jan 2006 12:01:23 +0100 (CET)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 903-2                     security () debian org
http://www.debian.org/security/                             Martin Schulze
January 12th, 2006                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : unzip
Vulnerability  : race condition
Problem type   : local
Debian-specific: no
CVE ID         : CAN-2005-2475
BugTraq ID     : 14450
Debian Bugs    : 321927 343680

The unzip update in DSA 903 contained a regression so that symbolic
links that are resolved later in a zip archive aren't supported
anymore.  This update corrects this behaviour.  For completeness,
below plese find the original advisory text:

   Imran Ghory discovered a race condition in the permissions setting
   code in unzip.  When decompressing a file in a directory an
   attacker has access to, unzip could be tricked to set the file
   permissions to a different file the user has permissions to.

For the old stable distribution (woody) this problem has been fixed in
version 5.50-1woody5.

For the stable distribution (sarge) this problem has been fixed in
version 5.52-1sarge3.

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

We recommend that you upgrade your unzip 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/u/unzip/unzip_5.50-1woody5.dsc
      Size/MD5 checksum:      571 75e2923b74af607785cbefbbea79d1ab
    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5.diff.gz
      Size/MD5 checksum:     6484 73efae47dcd377abb934e36805c16190
    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50.orig.tar.gz
      Size/MD5 checksum:  1068379 6d27bcdf9b51d0ad0f78161d0f99582e

  Alpha architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_alpha.deb
      Size/MD5 checksum:   160482 94b0a5e18d78866d92f375d6b93a22c3

  ARM architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_arm.deb
      Size/MD5 checksum:   139374 bd8cc4c654c901b5c320b2cdbf09f31b

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_i386.deb
      Size/MD5 checksum:   122808 1d5669290431fb7fe83f688447b22d84

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_ia64.deb
      Size/MD5 checksum:   191010 1cd02c151f46b5f7872a7de3079ebc2a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_hppa.deb
      Size/MD5 checksum:   146954 ee23ad6e2c40d38e4655be1f2666489d

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_m68k.deb
      Size/MD5 checksum:   119578 7765363163750bed7e72472bee09afc4

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_mips.deb
      Size/MD5 checksum:   142950 97af77c03fb69936407c86394fb846a5

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_mipsel.deb
      Size/MD5 checksum:   143422 98a0ab0fd751c246ebd50e5c62886217

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_powerpc.deb
      Size/MD5 checksum:   136368 b2bea065ae91032fe987aaf120e08ad9

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_s390.deb
      Size/MD5 checksum:   137044 151da2fddaaca890dbf5166140f23881

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.50-1woody5_sparc.deb
      Size/MD5 checksum:   147498 022e8ca1cecf20178edd68296fd973aa


Debian GNU/Linux 3.1 alias sarge
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3.dsc
      Size/MD5 checksum:      528 b6e01dbb89f9130fa16650b16f4d4e32
    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3.diff.gz
      Size/MD5 checksum:     5387 807b5d9e8efa85e8caab673eff38aff7
    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52.orig.tar.gz
      Size/MD5 checksum:  1140291 9d23919999d6eac9217d1f41472034a9

  Alpha architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_alpha.deb
      Size/MD5 checksum:   175506 90375091fd0c2577518bfd7db2202272

  AMD64 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_amd64.deb
      Size/MD5 checksum:   154876 7129ee6610e6ec0320141bb7aaa5288e

  ARM architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_arm.deb
      Size/MD5 checksum:   155430 3fb2c5576d1709c6d7cc1b89d61a50b8

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_i386.deb
      Size/MD5 checksum:   144934 0e860597ffe259038f7bb8e1ce2630df

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_ia64.deb
      Size/MD5 checksum:   206648 d261bf8a2e3c8fce3d0898355a7420db

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_hppa.deb
      Size/MD5 checksum:   162840 91d7d512b915757bf7c7e3e8640efa0c

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_m68k.deb
      Size/MD5 checksum:   133734 878d1597bd5ef623a6bc70f6446654a4

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_mips.deb
      Size/MD5 checksum:   163396 5cbe0e22136949f240031502ea07d456

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_mipsel.deb
      Size/MD5 checksum:   163966 4066fa1e97bad61c47be9b6ffa47179f

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_powerpc.deb
      Size/MD5 checksum:   157388 25c3d9d685ec411e5b53cc0e8002ca8e

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_s390.deb
      Size/MD5 checksum:   156494 bfeb0b1d801266334e6a46f0818a9e6f

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/u/unzip/unzip_5.52-1sarge3_sparc.deb
      Size/MD5 checksum:   154952 e1e42335312202d8b3f0727e9d78fda9


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

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce () lists debian org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDxjcDW5ql+IAeqTIRArJQAJ48ZSIEK2BLNM8nw7eF+nYWcAp1SACglvjT
4zYhaiqXeH/DSpRL/YVOouM=
=ZkQw
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


  By Date           By Thread  

Current thread:
  • [SECURITY] [DSA 903-2] New unzip packages fix unauthorised permissions modification Martin Schulze (Jan 12)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]