Midnight Commander improper memory allocation

midnight-commander-memory-allocation (18904) The risk level is classified as MediumMedium Risk

Description:

Midnight Commander fails to properly allocate memory, caused by a vulnerability in the gtkedit/editcmd.c file.

Platforms Affected:

  • Debian, Debian Linux 3.0
  • Gentoo, Linux
  • GNOME, Midnight Commander 4.x
  • Turbolinux, Turbolinux 7 Server
  • Turbolinux, Turbolinux 7 Workstation
  • Turbolinux, Turbolinux 8 Server
  • Turbolinux, Turbolinux 8 Workstation

Remedy:

Reportedly, this has been fixed in the CVS repository.

For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest version of mc (4.5.55-1.2woody5 or later), as listed in DSA-639-1. See References.

For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 2005-02-24 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Other

References:

  • GNU Midnight Commander Web site, GNU Midnight Commander at http://www.ibiblio.org/mc/.
  • BID-12263: Midnight Commander Multiple Unspecified Vulnerabilities
  • CVE-2004-1092: Midnight commander (mc) 4.5.55 and earlier allows remote attackers to cause a denial of service by causing mc to free unallocated memory.
  • DSA-639: mc -- several vulnerabilities
  • GLSA-200502-24: Midnight Commander: Multiple vulnerabilities
  • SUSE-SR:2005:003: SUSE Security Summary Report

Reported:

Jan 14, 2005

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page