GLSA-200405-21 : Midnight Commander: Multiple vulnerabilities

critical Nessus Plugin ID 14507
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 5.9


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200405-21 (Midnight Commander: Multiple vulnerabilities)

Numerous security issues have been discovered in Midnight Commander, including several buffer overflow vulnerabilities, multiple vulnerabilities in the handling of temporary file and directory creation, and multiple format string vulnerabilities.
Impact :

The buffer overflows and format string vulnerabilities may allow attackers to cause a denial of service or execute arbitrary code with permissions of the user running MC. The insecure creation of temporary files and directories could lead to a privilege escalation, including root privileges, for a local attacker.
Workaround :

There is no known workaround at this time. All users are advised to upgrade to version 4.6.0-r7 or higher of Midnight Commander.


All Midnight Commander users should upgrade to the latest stable version:
# emerge sync # emerge -pv '>=app-misc/mc-4.6.0-r7 # emerge '>=app-misc/mc-4.6.0-r7'

See Also

Plugin Details

Severity: Critical

ID: 14507

File Name: gentoo_GLSA-200405-21.nasl

Version: 1.16

Type: local

Published: 8/30/2004

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

Risk Factor: Critical

VPR Score: 5.9

CVSS v2.0

Base Score: 10

Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:mc, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 5/26/2004

Vulnerability Publication Date: 4/29/2004

Reference Information

CVE: CVE-2004-0226, CVE-2004-0231, CVE-2004-0232

GLSA: 200405-21