Midnight Commander: Multiple vulnerabilities
Gentoo Linux Security Advisory
||GLSA 200405-21 / MC
||May 26, 2004
||May 26, 2004: 01
All supported architectures
Multiple security issues have been discovered in Midnight Commander
including several buffer overflows and string format vulnerabilities.
Midnight Commander is a visual console file manager.
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.
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.
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:
Code Listing 3.1: Resolution
# emerge sync
# emerge -pv ">=app-misc/mc-4.6.0-r7
# emerge ">=app-misc/mc-4.6.0-r7"