Debian: New libdbi-perl packages fix insecure temporary file
Posted by Joseph Shakespeare   
Debian Javier Fernández-Sanguino Peña from the Debian Security Audit Project discovered that the DBI library, the Perl5 database interface, creates a tmporary PID file in an insecure manner. This can be exploited by a malicious user to overwrite arbitrary files owned by the person executing the parts of the library.
- --------------------------------------------------------------------------
Debian Security Advisory DSA 658-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 25th, 2005                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : libdbi-perl
Vulnerability  : insecure temporary file
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2005-0077

Javier Fernández-Sanguino Peña from the Debian Security Audit Project
discovered that the DBI library, the Perl5 database interface, creates
a tmporary PID file in an insecure manner.  This can be exploited by a
malicious user to overwrite arbitrary files owned by the person
executing the parts of the library.

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

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

We recommend that you upgrade your libdbi-perl 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/libd/libdbi-perl/libdbi-perl_1.21-2woody2.dsc
      Size/MD5 checksum:      587 778cd2081c6c996e962e5ccd6100b1e8
    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2.diff.gz
      Size/MD5 checksum:    12117 b96cca05e51fcab8c6ca55c00644d3fd
    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21.orig.tar.gz
      Size/MD5 checksum:   208384 c781eee2559de5e4a72e28a8120cb1d9

  Alpha architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_alpha.deb
      Size/MD5 checksum:   345058 014d047dbb24fd94d1a1437244644cd8

  ARM architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_arm.deb
      Size/MD5 checksum:   342540 896f3fe01eb1702df395c8f4ea3b6877

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_i386.deb
      Size/MD5 checksum:   337802 82348c4c37c6636b85b5fa18d5e00f66

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_ia64.deb
      Size/MD5 checksum:   356854 b800c42bcdbd3fef74ab630f1a066682

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_hppa.deb
      Size/MD5 checksum:   345808 5cebb7436af6e22050de51ea895a62ed

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_m68k.deb
      Size/MD5 checksum:   338592 202c8161fcdb618b6fbe236499d560af

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_mips.deb
      Size/MD5 checksum:   338102 3689ef5cf728e7108206cd9140f682bc

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_mipsel.deb
      Size/MD5 checksum:   338494 bd6f8206898feb05d613f06e30b78e5b

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_powerpc.deb
      Size/MD5 checksum:   342782 dd2b2637b3c15d472c5053c586a99e1d

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_s390.deb
      Size/MD5 checksum:   340908 274999cd7e3758367fef5f39fa44e888

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_sparc.deb
      Size/MD5 checksum:   344732 5bf3bb91f4a0de5af59d6a2a7d70cecf


  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