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

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

                     ESB-2003.0252 -- RHSA-2003:109-03
            Updated balsa and mutt packages fix vulnerabilities
                               07 April 2003

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

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

Product:                balsa
                        mutt
Vendor:                 Red Hat
Operating System:       Red Hat Linux 9
                        Red Hat Linux 8.0
                        Red Hat Linux 7.3
                        Red Hat Linux 7.2
                        Linux
Impact:                 Execute Arbitrary Code/Commands
                        Denial of Service
Access Required:        Remote
CVE Names:              CAN-2003-0140, CAN-2002-1090

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

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated balsa and mutt packages fix vulnerabilities
Advisory ID:       RHSA-2003:109-03
Issue date:        2003-04-03
Updated on:        2003-04-03
Product:           Red Hat Linux
Keywords:          balsa mutt IMAP server UTF7 UTF8
Cross references:  
Obsoletes:         
CVE Names:         CAN-2003-0140 CAN-2002-1090
- ---------------------------------------------------------------------

1. Topic:

New Balsa, Mutt, and libesmtp packages that fix potential buffer overflow
vulnerabilities are now available.

2. Relevant releases/architectures:

Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386
Red Hat Linux 9 - i386

3. Problem description:

Mutt is a text-mode email client. Balsa is a GNOME email client which
includes code from Mutt.

A potential buffer overflow in Mutt version 1.4 exists when parsing mailbox
names returned by an IMAP server. It is possible that a hostile IMAP server
could cause arbitrary code to be executed by the user running Mutt.  This
issue affects versions of Mutt provided with Red Hat Linux 8.0 and Red Hat
Linux 9.

Versions 1.2 and higher of Balsa incorporate the vulnerable Mutt IMAP code
and are therefore vulnerable to this issue as well.  It is possible that a
hostile IMAP server could cause arbitrary code to be executed by the user
running Balsa.  This issue affects Red Hat Linux 7.2, 7.3, 8.0 and 9.

Additionally, a buffer overflow in libesmtp, an SMTP library used by Balsa,
before version 0.8.11 allows a hostile remote SMTP server to execute
arbitrary code via a certain response or cause a denial of service via long
server responses.  This issue only affects versions of libesmtp provided by
Red Hat Linux 7.2 and 7.3.

Users of Mutt and Balsa are recommended to update to these erratum packages
containing updated versions of Mutt, Balsa, and libesmtp which are not
vulnerable to these issues.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):

66389 - Buffer overflow in versions < 0.8.11
86394 - Security flaw in mutt discovered by Core Security Technologies

6. RPMs required:

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/balsa-1.2.4-7.7.2.src.rpm
ftp://updates.redhat.com/7.2/en/os/SRPMS/libesmtp-0.8.12-0.7.x.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/balsa-1.2.4-7.7.2.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/libesmtp-0.8.12-0.7.x.i386.rpm
ftp://updates.redhat.com/7.2/en/os/i386/libesmtp-devel-0.8.12-0.7.x.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/balsa-1.2.4-7.7.2.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/libesmtp-0.8.12-0.7.x.ia64.rpm
ftp://updates.redhat.com/7.2/en/os/ia64/libesmtp-devel-0.8.12-0.7.x.ia64.rpm

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/balsa-1.2.4-7.7.3.src.rpm
ftp://updates.redhat.com/7.3/en/os/SRPMS/libesmtp-0.8.12-0.7.x.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/balsa-1.2.4-7.7.3.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/libesmtp-0.8.12-0.7.x.i386.rpm
ftp://updates.redhat.com/7.3/en/os/i386/libesmtp-devel-0.8.12-0.7.x.i386.rpm

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/mutt-1.4.1-0.8.x.src.rpm
ftp://updates.redhat.com/8.0/en/os/SRPMS/balsa-1.2.4-8.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/mutt-1.4.1-0.8.x.i386.rpm
ftp://updates.redhat.com/8.0/en/os/i386/balsa-1.2.4-8.i386.rpm

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/mutt-1.4.1-1.src.rpm
ftp://updates.redhat.com/9/en/os/SRPMS/balsa-2.0.6-2.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/mutt-1.4.1-1.i386.rpm
ftp://updates.redhat.com/9/en/os/i386/balsa-2.0.6-2.i386.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
5bab8505c792c1682072f90ec5babe6a 7.2/en/os/SRPMS/balsa-1.2.4-7.7.2.src.rpm
d5234163353ecf276c872abf253703d9 7.2/en/os/SRPMS/libesmtp-0.8.12-0.7.x.src.rpm
9a2394f555cc8ea15891e04da2e73030 7.2/en/os/i386/balsa-1.2.4-7.7.2.i386.rpm
f4d4ae7c3af052f43e1873169ed06036 7.2/en/os/i386/libesmtp-0.8.12-0.7.x.i386.rpm
08be48e6749eaa9eee9c3c130c8e8bd5 7.2/en/os/i386/libesmtp-devel-0.8.12-0.7.x.i386.rpm
fb4a47e64ac2a8e35ea98bd64f980eb5 7.2/en/os/ia64/balsa-1.2.4-7.7.2.ia64.rpm
f5dd08e62f829edf0d1f24a26b7ab364 7.2/en/os/ia64/libesmtp-0.8.12-0.7.x.ia64.rpm
af33956420acf4c8c1e551850aaec2c8 7.2/en/os/ia64/libesmtp-devel-0.8.12-0.7.x.ia64.rpm
23c4b1e9fb9e3b9d59329f878b7ddd56 7.3/en/os/SRPMS/balsa-1.2.4-7.7.3.src.rpm
d5234163353ecf276c872abf253703d9 7.3/en/os/SRPMS/libesmtp-0.8.12-0.7.x.src.rpm
ef25302d3b208b76d574c1dd32baf160 7.3/en/os/i386/balsa-1.2.4-7.7.3.i386.rpm
f4d4ae7c3af052f43e1873169ed06036 7.3/en/os/i386/libesmtp-0.8.12-0.7.x.i386.rpm
08be48e6749eaa9eee9c3c130c8e8bd5 7.3/en/os/i386/libesmtp-devel-0.8.12-0.7.x.i386.rpm
ee54ef0139d795761ab552085100d57f 8.0/en/os/SRPMS/balsa-1.2.4-8.src.rpm
db56cb885a976cb82b9493a7bcad0fbc 8.0/en/os/SRPMS/mutt-1.4.1-0.8.x.src.rpm
6e65eeccc64b858b12e8cdfdf845bae6 8.0/en/os/i386/balsa-1.2.4-8.i386.rpm
074c0b649d51043349c2ca628fc7d217 8.0/en/os/i386/mutt-1.4.1-0.8.x.i386.rpm
a10d74ad40852b6dd43fdbcb51fac529 9/en/os/SRPMS/balsa-2.0.6-2.src.rpm
9e6dc99dcd0adc430995776fedf89712 9/en/os/SRPMS/mutt-1.4.1-1.src.rpm
26b0deca515d58111780cb510236776a 9/en/os/i386/balsa-2.0.6-2.i386.rpm
389f755b4702a1acb1a8f891750fe7b2 9/en/os/i386/mutt-1.4.1-1.i386.rpm


These packages are GPG signed by Red Hat for security.  Our key is
available at http://www.redhat.com/solutions/security/news/publickey/

You can verify each package with the following command:
    
    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum <filename>


8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0140
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1090

9. Contact:

The Red Hat security contact is <security@redhat.com>.  More contact
details at http://www.redhat.com/solutions/security/news/contact/

Copyright 2003 Red Hat, Inc.

- --------------------------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:

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

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

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-----
Version: 2.6.3i
Charset: noconv
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPpFVqih9+71yA2DNAQG3RwP8CwSgRwBSD6OTXnyJuftS1QVot5lQbokV
5bxtV2TfvYhwREpMJVtfujD5Jg5FXO0JxUOpWPjvVIlDJHxS4m4S1q1YfOwHO+w/
jO69pz9D+3ZZE/GfVw5FTuLoHsfOsNfYNCfjyp03keVdmFjYogch6bo4XmlofMqW
ZR484lVb2cM=
=E0fn
-----END PGP SIGNATURE-----