Midnight Commander: Multiple vulnerabilities — GLSA 200502-24

Midnight Commander contains several format string errors, buffer overflows and one buffer underflow leading to execution of arbitrary code.

Affected Packages

app-misc/mc on all architectures
Affected versions < 4.6.0-r13
Unaffected versions >= 4.6.0-r13

Background

Midnight Commander is a visual console file manager.

Description

Midnight Commander contains several format string vulnerabilities (CAN-2004-1004), buffer overflows (CAN-2004-1005), a memory deallocation error (CAN-2004-1092) and a buffer underflow (CAN-2004-1176).

Impact

An attacker could exploit these vulnerabilities to execute arbitrary code with the permissions of the user running Midnight Commander or cause Denial of Service by freeing unallocated memory.

Workaround

There is no known workaround at this time.

Resolution

All Midnight Commander users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-misc/mc-4.6.0-r13"

References

Release Date
February 17, 2005

Latest Revision
February 17, 2005: 01

Severity
normal

Exploitable
remote

Bugzilla entries