Red Hat 8866 Published by

A mc security update is available for Red Hat Enterprise Linux 2.1

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

Synopsis: Moderate: mc security update
Advisory ID: RHSA-2005:512-01
Advisory URL: https://rhn.redhat.com/errata/RHSA-2005-512.html
Issue date: 2005-06-16
Updated on: 2005-06-16
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-1009 CAN-2004-1090 CAN-2004-1091 CAN-2004-1093 CAN-2004-1174 CAN-2004-1175 CAN-2005-0763
----------------------------------------------------------------------

1. Summary:

Updated mc packages that fix several security issues are now available for Red Hat Enterprise Linux 2.1.

This update has been rated as having moderate security impact by the Red Hat Security Response Team.

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 is a visual shell much like a file manager.

Several denial of service bugs were found in Midnight Commander. These bugs could cause Midnight Commander to hang or crash if a victim opens a carefully crafted file. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the names CAN-2004-1009, CAN-2004-1090, CAN-2004-1091, CAN-2004-1093 and CAN-2004-1174 to these issues.

A filename quoting bug was found in Midnight Commander's FISH protocol handler. If a victim connects via embedded SSH support to a host containing a carefully crafted filename, arbitrary code may be executed as the user running Midnight Commander. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-1175 to this issue.

A buffer overflow bug was found in the way Midnight Commander handles directory completion. If a victim uses completion on a maliciously crafted directory path, it is possible for arbitrary code to be executed as the user running Midnight Commander. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0763 to this issue.

Users of mc are advised to upgrade to these packages, which contain backported security patches to correct these issues.

4. Solution:

Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system:

http://www.redhat.com/docs/manuals/enterprise/

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

158671 - CAN-2004-1009 Multiple mc issues (CAN-2004-1090 CAN-2004-1091 CAN-2004-1093 CAN-2004-1174 CAN-2004-1175 CAN-2005-0763)


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.8.src.rpm
9e805a0d7578118dd90b7afc8f8ea38f mc-4.5.51-36.8.src.rpm

i386:
e2ce1ca37f0725b120fa91d68579e381 gmc-4.5.51-36.8.i386.rpm
bdc096816859dace0dde57ab3fffcb53 mc-4.5.51-36.8.i386.rpm
ba21d0bddad88febd13325e551403e2e mcserv-4.5.51-36.8.i386.rpm

ia64:
43a53ce5a7ec823b9531437ec7f51a79 gmc-4.5.51-36.8.ia64.rpm
59287fee62f48ce8c8fb72f923c923d7 mc-4.5.51-36.8.ia64.rpm
be6ee2ff486ab9e9c14fefb620532175 mcserv-4.5.51-36.8.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.8.src.rpm
9e805a0d7578118dd90b7afc8f8ea38f mc-4.5.51-36.8.src.rpm

ia64:
43a53ce5a7ec823b9531437ec7f51a79 gmc-4.5.51-36.8.ia64.rpm
59287fee62f48ce8c8fb72f923c923d7 mc-4.5.51-36.8.ia64.rpm
be6ee2ff486ab9e9c14fefb620532175 mcserv-4.5.51-36.8.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.8.src.rpm
9e805a0d7578118dd90b7afc8f8ea38f mc-4.5.51-36.8.src.rpm

i386:
e2ce1ca37f0725b120fa91d68579e381 gmc-4.5.51-36.8.i386.rpm
bdc096816859dace0dde57ab3fffcb53 mc-4.5.51-36.8.i386.rpm
ba21d0bddad88febd13325e551403e2e mcserv-4.5.51-36.8.i386.rpm

These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1009
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1090
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1091
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1093
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1174
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1175
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0763

8. Contact:

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

Copyright 2005 Red Hat, Inc.