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

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

                     ESB-2002.010 -- RHSA-2002:002-10
                    Updated stunnel packages available.
                              8 January 2002

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

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

Product:                stunnel
Vendor:                 Red Hat
Operating System:       Red Hat Linux
                        Linux
                        UNIX
Platform:               i386
                        IA-64
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote

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

- ---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated stunnel packages available.
Advisory ID:       RHSA-2002:002-10
Issue date:        2002-01-01
Updated on:        2002-01-03
Product:           Red Hat Linux
Keywords:          stunnel format string vulnerability
Cross references:  
Obsoletes:         RHSA-2000:137
- ---------------------------------------------------------------------

1. Topic:

Updated stunnel packages are now available for Red Hat Linux 7.2.  These
updates close a format-string vulnerability which is present in some
earlier versions of stunnel.

2. Relevant releases/architectures:

Red Hat Linux 7.2 - i386, ia64

3. Problem description:

Stunnel is an SSL wrapper for applications.  One feature of Stunnel is the
ability to negotiate SSL with protocols using the '-n' flag. There are
format string bugs present in the functions which implement smtp, pop, and
nntp client negotiations as supplied with Stunnel versions 3.15 up to 3.21c. 

If you use Stunnel with the '-n smtp', '-n pop', '-n nntp' options with
the client mode '-c' option, a malicous server could abuse the format
string bug to run arbitrary code as the owner of the Stunnel process.  The
packages included update Stunnel to version 3.22 which is not vulnerable to
this bug.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2002-0002 to this issue.

4. Solution:

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

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



6. RPMs required:

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/stunnel-3.22-1.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/stunnel-3.22-1.i386.rpm

ia64:
ftp://updates.redhat.com/7.2/en/os/ia64/stunnel-3.22-1.ia64.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
b0a3367f7369841f615b57e9de234703 7.2/en/os/SRPMS/stunnel-3.22-1.src.rpm
b62a3f6c4418550873602147697213b0 7.2/en/os/i386/stunnel-3.22-1.i386.rpm
6cc2a3665a608922159d583d1401ad20 7.2/en/os/ia64/stunnel-3.22-1.ia64.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <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:
    rpm --checksig --nogpg <filename>

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0002
http://marc.theaimsgroup.com/?l=stunnel-users&m=100868569203440
http://marc.theaimsgroup.com/?l=stunnel-users&m=100913948312986


Copyright(c) 2000, 2001, 2002 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 original authors 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/Information/advisories.html

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 emergencies.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPDr7+Ch9+71yA2DNAQEQfgP/T/Wvfa3q4NwQ63Agpl949gJQs3OZ4nKO
xoTcw30SipxBSQCecXbFo+KVc59TnbQYEFFtzIe7ecftEJI2lZbOoxdSLMKMsIZY
FsVJiuQkHJRpSH8yyJMmBdG43P29zDesc1u2OUyEEztHEhihTHFHP9bXk45swnNv
36t9dHg66FY=
=L/S5
-----END PGP SIGNATURE-----