-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

            ESB-2004.0161 -- Debian Security Advisory DSA 449-1
            New metamail packages fix arbitrary code execution
                             25 February 2004

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                metamail
Publisher:              Debian
Operating System:       Debian GNU/Linux 3.0
                        Linux
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote
CVE Names:              CAN-2004-0104 CAN-2004-0105

Ref:                    ESB-2004.0134

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

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

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 449-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
February 24th, 2004                     http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : metamail
Vulnerability  : buffer overflow, format string bugs
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2004-0104 CAN-2004-0105

Ulf Härnhammar discovered two format string bugs (CAN-2004-0104) and
two buffer overflow bugs (CAN-2004-0105) in metamail, an
implementation of MIME.  An attacker could create a carefully-crafted
mail message which will execute arbitrary code as the victim when it
is opened and parsed through metamail.

We have been devoting some effort to trying to avoid shipping metamail
in the future.  It became unmaintainable and these are probably not
the last of the vulnerabilities.

For the stable distribution (woody) these problems have been fixed in
version 2.7-45woody.2.

For the unstable distribution (sid) these problems will be fixed in
version 2.7-45.2.

We recommend that you upgrade your metamail 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/m/metamail/metamail_2.7-45woody.2.dsc
      Size/MD5 checksum:      613 eb8246a16fb3e6dbbd80247b53ae8153
    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2.diff.gz
      Size/MD5 checksum:   333224 532b053589bc1038ea55d340ab93ee6e
    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7.orig.tar.gz
      Size/MD5 checksum:   156656 c6967e9bc5d3c919764b02df24efca01

  Alpha architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_alpha.deb
      Size/MD5 checksum:   165818 92127db2f58390fdbb168c9cf2ccc2ce

  ARM architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_arm.deb
      Size/MD5 checksum:   153160 72b8d81c7c4a9027b508c45fd5d8b39e

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_i386.deb
      Size/MD5 checksum:   150252 2f3905d2923d8ecded2df290762b3c56

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_ia64.deb
      Size/MD5 checksum:   205530 8cfce92a64a7df4c9630f3214aafc9e7

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_hppa.deb
      Size/MD5 checksum:   153204 4e49ebddf0830708fb30a6cc0bfb064b

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_m68k.deb
      Size/MD5 checksum:   146136 45fe19d01f7f76e394a09264bc2f57fb

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_mips.deb
      Size/MD5 checksum:   158316 1b4ad52779b866c71c06f68f1c62e195

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_mipsel.deb
      Size/MD5 checksum:   158310 97c128e30297e62459bd9d277c407b33

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_powerpc.deb
      Size/MD5 checksum:   148476 a7b070e618315e1a45690c701f532435

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_s390.deb
      Size/MD5 checksum:   151256 121b87823b2a3e4ead430bd4c165526e

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/m/metamail/metamail_2.7-45woody.2_sparc.deb
      Size/MD5 checksum:   155234 24e5afafa0c3eb18540267e12651a337


  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>

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

iD8DBQFAOzWNW5ql+IAeqTIRAjhWAJ41ohFPS7eQjratA/W+0bVziLDFZgCgrCM7
Ds41gk7e1499x49phcgOyeg=
=Tsu9
- -----END PGP SIGNATURE-----

- --------------------------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 follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

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:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

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.
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQDwasyh9+71yA2DNAQGaugP9F4ibgizE0ikp3rXEKTyA7w0c/dqHS/CZ
mkeYeUe6V7/DcRfJc5sPytNvdiOWkB47R4HhslanjD8gR1nNpiGPK9myjD1hssFT
brLbK8Sk65RBbDN/6ge5SETf/vafLkzgUVCzB78jT4nTZoJk0FOX6FJMmbwqp8st
59q9C8op8Pw=
=LdZ/
-----END PGP SIGNATURE-----