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

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

                     ESB-2003.0518 -- RHSA-2003:221-01
             Updated stunnel packages fix signal vulnerability
                               28 July 2003

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

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

Product:                stunnel
Publisher:              Red Hat
Operating System:       Red Hat Linux 8.0
                        Red Hat Linux 7.3
                        Red Hat Linux 7.2
                        Red Hat Linux 7.1
                        Linux
Platform:               IA-32
                        IA-64
Impact:                 Denial of Service
Access Required:        Remote
CVE Names:              CAN-2002-1563

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

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

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

Synopsis:          Updated stunnel packages fix signal vulnerability
Advisory ID:       RHSA-2003:221-01
Issue date:        2003-07-25
Updated on:        2003-07-25
Product:           Red Hat Linux
Keywords:          stunnel signal handler reentrancy DoS
Cross references:  
Obsoletes:         RHSA-2002:002
CVE Names:         CAN-2002-1563
- - ---------------------------------------------------------------------

1. Topic:

Updated stunnel packages are now available for Red Hat Linux 7.1, 7.2, 7.3,
and 8.0.  These updates correct a potential vulnerability in stunnel's
signal handling.

2. Relevant releases/architectures:

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

3. Problem description:

Stunnel is a wrapper for network connections.  It can be used to tunnel an
unencrypted network connection over a secure connection (encrypted using
SSL or TLS) or to provide a secure means of connecting to services that do
not natively support encryption.

When configured to listen for incoming connections (instead of being
invoked by xinetd), stunnel can be configured to either start a thread or a
child process to handle each new connection. If Stunnel is configured to
start a new child process to handle each connection, it will receive a
SIGCHLD signal when that child exits. 

Stunnel versions prior to 4.04 would perform tasks in the SIGCHLD signal
handler which, if interrupted by another SIGCHLD signal, could be unsafe.
This could lead to a denial of service.

All users are urged to upgrade to these errata packages, which modify
stunnel's signal handler so that it is not vulnerable to this issue.

NOTE: After upgrading, any instances of stunnel configured to run in daemon
mode should be restarted, and any active network connections that are
currently being serviced by stunnel should be terminated and reestablished.

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

82325 - stunnel security errata required

6. RPMs required:

Red Hat Linux 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/os/SRPMS/stunnel-3.22-5.7.1.src.rpm

i386:
ftp://updates.redhat.com/7.1/en/os/i386/stunnel-3.22-5.7.1.i386.rpm

Red Hat Linux 7.2:

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

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

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

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/stunnel-3.22-5.7.3.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/stunnel-3.22-5.7.3.i386.rpm

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/stunnel-3.22-5.8.0.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/stunnel-3.22-5.8.0.i386.rpm



7. Verification:

MD5 sum                          Package Name
- - --------------------------------------------------------------------------
e20a6bcf06735897d4b9f7a05b9ded3f 7.1/en/os/SRPMS/stunnel-3.22-5.7.1.src.rpm
38a38be900e55173493db34a1d0fdddd 7.1/en/os/i386/stunnel-3.22-5.7.1.i386.rpm
d74e461c13ccb49a48bac85560b40287 7.2/en/os/SRPMS/stunnel-3.22-5.7.3.src.rpm
bc60108d725ce1b88bfdc16db0b9ee6f 7.2/en/os/i386/stunnel-3.22-5.7.3.i386.rpm
f017a9e4373a8478342961e430c8405f 7.2/en/os/ia64/stunnel-3.22-5.7.3.ia64.rpm
d74e461c13ccb49a48bac85560b40287 7.3/en/os/SRPMS/stunnel-3.22-5.7.3.src.rpm
bc60108d725ce1b88bfdc16db0b9ee6f 7.3/en/os/i386/stunnel-3.22-5.7.3.i386.rpm
37e3c19c87b1c47a3a503823ce19a687 8.0/en/os/SRPMS/stunnel-3.22-5.8.0.src.rpm
10a5bac0cf90d31b6db4b49abc74ca4b 8.0/en/os/i386/stunnel-3.22-5.8.0.i386.rpm


These packages are GPG signed by Red Hat for security.  Our key is
available from http://www.redhat.com/security/keys.html

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://marc.theaimsgroup.com/?l=stunnel-users&m=103600188215117
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-1563

9. Contact:

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

Copyright 2003 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/IS2DXlSAg2UNWIIRAn6kAKCMwjUiCTlPh34miqjJK3mE/8GSDQCeLOFO
6DdoTfl6Z69DxSWy3PZshrA=
=u0N3
- -----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

iQCVAwUBPyTOVSh9+71yA2DNAQEr1wP+P17U+NhOWYwy2vH8nepk3rOgmTkefEto
A5S/bVgceao69yj33K0N4oulsypkGrw9wSySiI6+V5iD3irw1CUP1lFmmj8HC5GI
ZCIqlbUEka13f7S3i+IByvZtFe6g1ajWh0/N1nZCMRo0cMxI6rC7SDJ7PSU1FUZl
18yn2jmg3QU=
=5dZm
-----END PGP SIGNATURE-----