AUSCERT External Security Bulletin Redistribution

            ESB-2003.0333 -- Debian Security Advisory DSA 292-3
    New mime-support packages really fix temporary file race conditions
                                01 May 2003


        AusCERT Security Bulletin Summary

Product:                mime-support
Publisher:              Debian
Operating System:       Debian GNU/Linux 3.0
                        Debian GNU/Linux 2.2
Impact:                 Overwrite Arbitrary Files
                        Increased Privileges
Access Required:        Existing Account
CVE Names:              CAN-2003-0214

Ref:                    ESB-2003.0305

- --------------------------BEGIN INCLUDED TEXT--------------------

Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 292-3                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
April 30th, 2003                        http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : mime-support
Vulnerability  : insecure temporary file creation
Problem-Type   : local
Debian-specific: no

I am awfully and sincerely sorry.  Apparently, I wasn't able to assign
enough time to this issue and produced insufficiently tested
updates.  I'll do my best not to repeat this.

This update fixes the second problem from the original advisory:

  When run-mailcap is executed on a file with a potentially
  problematic filename, a temporary file is created (not insecurely
  anymore), removed and a symbolic link to this filename is created.
  An attacker could recreate the file before the symbolic link is
  created, forcing the display program to display different content.

For the stable distribution (woody) this problem has been corrected in
version 3.18-1.3.

For the old stable distribution (potato) this problem has been
corrected in version 3.9-1.3.

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

We recommend that you upgrade your mime-support 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 2.2 alias potato
- - ---------------------------------

  Source archives:

      Size/MD5 checksum:      473 691d2e5ee8c934314278579b62b15404
      Size/MD5 checksum:    91820 d0825b583b06f80a87280f8b1eafc8d6

  Architecture independent components:

      Size/MD5 checksum:    99266 4e4c0a921a163346e35e7cf273068fac

Debian GNU/Linux 3.0 alias woody
- - --------------------------------

  Source archives:

      Size/MD5 checksum:      475 3bd3a28a8209f694188c4a3f645b30fd
      Size/MD5 checksum:    72281 9ef6f8c5ecd653d559f0835fb3429422

  Architecture independent components:

      Size/MD5 checksum:    67980 a90f0324ad8bffa5b7d00a97a3506175

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

Version: GnuPG v1.2.1 (GNU/Linux)


- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:


If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.

Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967