GLSA 201801-07: GNU Emacs: Command injection

Severity:normal
Title:GNU Emacs: Command injection
Date:01/07/2018
Bugs: #630680
ID:201801-07

Synopsis

A vulnerability has been found in Emacs which may allow for arbitrary command execution.

Background

GNU Emacs is a highly extensible and customizable text editor.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-editors/emacs < 23.4-r16 >= 23.4-r16 All supported architectures

Description

A command injection flaw within the Emacs “enriched mode” handling has been discovered.

Impact

A remote attacker, by enticing a user to open a specially crafted file, could execute arbitrary commands with the privileges of process.

Workaround

There is no known workaround at this time.

Resolution

All GNU Emacs 23.x users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=app-editors/emacs-23.4-r16:23"
    

All GNU Emacs 24.x users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-editors/emacs-24.5-r4:24"

All GNU Emacs 25.x users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-editors/emacs-25.2-r1:25"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201801-07.xml

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.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!