Red Hat 9062 Published by

Updated mc packages are available for Red Hat Enterprise Linux 2.1

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

Synopsis: Updated mc packages resolve several vulnerabilities
Advisory ID: RHSA-2004:172-01
Issue date: 2004-05-19
Updated on: 2004-05-19
Product: Red Hat Enterprise Linux
Keywords: mc buffer overflow format string temporary file
Cross references:
Obsoletes:
CVE Names: CAN-2004-0226 CAN-2004-0231 CAN-2004-0232
----------------------------------------------------------------------

1. Topic:

Updated mc packages that resolve several buffer overflow vulnerabilities, one format string vulnerability and several temporary file creation vulnerabilities are now available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux WS version 2.1 - i386



3. Problem description:

Midnight Commander (mc) is a visual shell much like a file manager.

Several buffer overflows, several temporary file creation vulnerabilities, and one format string vulnerability have been discovered in Midnight Commander. These vulnerabilities were discovered mostly by Andrew V. Samoilov and Pavel Roskin. The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the names CAN-2004-0226, CAN-2004-0231, and CAN-2004-0232 to these issues.

Users should upgrade to these updated packages, which contain a backported patch to correct 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.

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

118302 - One more buffer overflow in mc's vfs code

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/mc-4.5.51-36.3.src.rpm

i386:
Available from Red Hat Network: gmc-4.5.51-36.3.i386.rpm
Available from Red Hat Network: mc-4.5.51-36.3.i386.rpm
Available from Red Hat Network: mcserv-4.5.51-36.3.i386.rpm

ia64:
Available from Red Hat Network: gmc-4.5.51-36.3.ia64.rpm
Available from Red Hat Network: mc-4.5.51-36.3.ia64.rpm
Available from Red Hat Network: mcserv-4.5.51-36.3.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/mc-4.5.51-36.3.src.rpm

ia64:
Available from Red Hat Network: gmc-4.5.51-36.3.ia64.rpm
Available from Red Hat Network: mc-4.5.51-36.3.ia64.rpm
Available from Red Hat Network: mcserv-4.5.51-36.3.ia64.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/mc-4.5.51-36.3.src.rpm

i386:
Available from Red Hat Network: gmc-4.5.51-36.3.i386.rpm
Available from Red Hat Network: mc-4.5.51-36.3.i386.rpm
Available from Red Hat Network: mcserv-4.5.51-36.3.i386.rpm



7. Verification:

MD5 sum Package Name
- --------------------------------------------------------------------------
efb76ce0632282e986498da9686eadce gmc-4.5.51-36.3.i386.rpm
42b64c84297114f968f5514687805ff3 gmc-4.5.51-36.3.ia64.rpm
9b839e9a80d9b9dbc24817017abc8138 mc-4.5.51-36.3.i386.rpm
d1edb24a25b05c019b58783c01f2f7b0 mc-4.5.51-36.3.ia64.rpm
69d7683f72d9ac712eb39cc63247a5d8 mc-4.5.51-36.3.src.rpm
009c85fb3ace26ad47a41d1361fa896c mcserv-4.5.51-36.3.i386.rpm
9b2c8414fca8ab771aa0d6c024cdc797 mcserv-4.5.51-36.3.ia64.rpm


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

You can verify each package with the following command:

rpm --checksig -v

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


8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0226
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0231
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0232

9. Contact:

The Red Hat security contact is secalert@redhat.com. More contact details at https://www.redhat.com/security/team/contact.html

Copyright 2004 Red Hat, Inc.