Debian: bmv insecure temporary file creation fix
Posted by Joe Shakespeare   
Debian Peter Samuelson, upstream maintainer of bmv, a PostScript viewer for SVGAlib, discovered that temporary files are created in an insecure fashion. A malicious local user could cause arbitrary files to be overwritten by a symlink attack.

--------------------------------------------------------------------------
Debian Security Advisory DSA 633-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 11th, 2005                      http://www.debian.org/security/faq
--------------------------------------------------------------------------

Package        : bmv
Vulnerability  : insecure temporary file
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2003-0014

Peter Samuelson, upstream maintainer of bmv, a PostScript viewer for
SVGAlib, discovered that temporary files are created in an insecure
fashion.  A malicious local user could cause arbitrary files to be
overwritten by a symlink attack.

For the stable distribution (woody) this problem has been
fixed in version 1.2-14.2.

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

We recommend that you upgrade your bmv 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/bmv/bmv_1.2-14.2.dsc
      Size/MD5 checksum:      565 7b056960fafe4fca7c72083788cf5844
    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-14.2.diff.gz
      Size/MD5 checksum:    11811 ab4e7218ce67de842d3a78e1c8e11caf
    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2.orig.tar.gz
      Size/MD5 checksum:    50755 40c881800edac6b1d2ce75ea8da6e6b4

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/b/bmv/bmv_1.2-14.2_i386.deb
      Size/MD5 checksum:    21762 b625704138829c0dcd96a25e0a7f365b

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

---------------------------------------------------------------------------------
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 ' and http://packages.debian.org/