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

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

                     ESB-2004.0062 -- RHSA-2004:034-01
         Updated mc packages resolve buffer overflow vulnerability
                              22 January 2004

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

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

Product:                mc (Midnight Commander)
Publisher:              Red Hat
Operating System:       Red Hat Linux 9
                        Linux
Impact:                 Execute Arbitrary Code/Commands
Access Required:        Remote
CVE Names:              CAN-2003-1023

Ref:                    ESB-2004.0050

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

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

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

Synopsis:          Updated mc packages resolve buffer overflow vulnerability
Advisory ID:       RHSA-2004:034-01
Issue date:        2004-01-19
Updated on:        2004-01-19
Product:           Red Hat Linux
Keywords:          mc buffer overflow vfs
Cross references:  
Obsoletes:         
CVE Names:         CAN-2003-1023
- - ---------------------------------------------------------------------

1. Topic:

Updated mc packages that resolve a buffer overflow vulnerability are now
available.

2. Relevant releases/architectures:

Red Hat Linux 9 - i386

3. Problem description:

Midnight Commander is a visual shell much like a file manager.

A buffer overflow has been found in Midnight Commander's virtual filesystem
code. Specifically, a stack-based buffer overflow in vfs_s_resolve_symlink
of vfs/direntry.c allows remote attackers to execute arbitrary code during
symlink conversion.

Users of Midnight Commander should install these updated packages, which
resolve this issue.

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.

If up2date fails to connect to Red Hat Network due to SSL Certificate 
Errors, you need to install a version of the up2date client with an updated 
certificate.  The latest version of up2date is available from the Red Hat 
FTP site and may also be downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

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

113850 - CAN-2003-1023 mc stack overflow

6. RPMs required:

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/mc-4.6.0-7.9.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/mc-4.6.0-7.9.i386.rpm



7. Verification:

MD5 sum                          Package Name
- - --------------------------------------------------------------------------

a95b46e77c33aa44922b85fa87fd55e0 9/en/os/SRPMS/mc-4.6.0-7.9.src.rpm
ecce8798d9e33465f8aef6be1c0f7914 9/en/os/i386/mc-4.6.0-7.9.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key is
available from https://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://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-1023

9. Contact:

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

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

iD8DBQFADkjUXlSAg2UNWIIRAiegAKCqrG5tpdNnEolc8PiCCcGz4CNyPwCgsI5H
+G8/lQlpj5ng+9BQryAKvc4=
=w8iS
- -----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

iQCVAwUBQA8XkCh9+71yA2DNAQHfHAP/WCVJfRMvm42zRx27GMvbSz+tjknyzonn
AZDxsfs35rgcupL3aTSRc+rnInDsw0ioZkTS2vKYAv2uG+Bi2wTD5KLaDhTFlcoQ
JxSuTwBz58k61XCBsoOklRM1jGFazu3+e4Ols699yt9uwM+nY0nul1aztN2MJ2ok
k4hqZSfgv3M=
=bT5J
-----END PGP SIGNATURE-----