Lucene search

K
redhatcveRedhat.comRH:CVE-2017-14482
HistorySep 15, 2017 - 7:48 a.m.

CVE-2017-14482

2017-09-1507:48:36
redhat.com
access.redhat.com
19

EPSS

0.031

Percentile

91.1%

A command injection flaw within the Emacs “enriched mode” handling has been discovered. By tricking an unsuspecting user into opening a specially crafted file using Emacs, a remote attacker could exploit this flaw to execute arbitrary commands with the privileges of the Emacs user.

Mitigation

This issue can be mitigated by adding the following lines to the Emacs init file (for example ~/.emacs, ~/emacs.d/init.el, site-start.el) and avoiding options that would bypass normal initialization, like 'emacs -Q':

;; Mitigate CVE-2017-14482 in Emacs 25.2 and earlier
(require 'enriched)
(defun enriched-decode-display-prop (start end &optional param)
(list start end))