Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 514
Alerts This Week
Warning Icon 1 514

Gentoo: 201403-05 Normal: GNU Emacs Code Execution Threats

gentoo
Calendar Grey March 20, 2014
Scroller Gentoo
Uncover the various weaknesses present in GNU Emacs that impact Gentoo distributions, highlighting the dangers posed to users and the recommended solutions.
Two vulnerabilities have been found in GNU Emacs, possibly leading to user-assisted execution of arbitrary code.

Summary

Multiple vulnerabilities have been discovered in GNU Emacs: * When 'global-ede-mode' is enabled, EDE in Emacs automatically loads a Project.ede file from the project directory (CVE-2012-0035). * When 'enable-local-variables' is set to ':safe', Emacs automatically processes eval forms (CVE-2012-3479).

Resolution

All GNU Emacs 24.x users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose ">=app-editors/emacs-24.1-r1"
All GNU Emacs 23.x users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=app-editors/emacs-23.4-r4"

References

[ 1 ] CVE-2012-0035 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-0035 [ 2 ] CVE-2012-3479 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-3479

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/201403-05
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity: Normal
Title: GNU Emacs: Multiple vulnerabilities
Date: March 20, 2014
Bugs: #398239, #431178
ID: 201403-05

Synopsis

Two vulnerabilities have been found in GNU Emacs, possibly leading to user-assisted execution of arbitrary code.

Background

GNU Emacs is a highly extensible and customizable text editor.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 app-editors/emacs < 24.1-r1 < 23.2 *>= 23.4-r4 >= 24.1-r1

Impact

===== A remote attacker could entice a user to open a specially crafted file, 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.