GNU Emacs: Command injection

2018-01-07T00:00:00
ID GLSA-201801-07
Type gentoo
Reporter Gentoo Foundation
Modified 2018-01-07T00:00:00

Description

Background

GNU Emacs is a highly extensible and customizable text editor.

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"

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

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

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

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