GNU Midnight Commander: User-assisted execution of arbitrary code — GLSA 201402-18

GNU Midnight Commander does not properly sanitize environment variables, possibly resulting in execution of arbitrary code or Denial of Service.

Affected packages

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

Background

GNU Midnight Commander is a text based file manager.

Description

GNU Midnight Commander does not properly sanitize environment variables.

Impact

A remote attacker could entice a user to open a specially crafted archive file using GNU Midnight Commander, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All GNU Midnight Commander users should upgrade to the latest version:

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

References

Release date
February 20, 2014

Latest revision
February 20, 2014: 1

Severity
normal

Exploitable
remote

Bugzilla entries