{
  "threat_severity" : "Important",
  "public_date" : "2017-09-04T00:00:00Z",
  "bugzilla" : {
    "description" : "emacs: command injection flaw within \"enriched mode\" handling",
    "id" : "1490409",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1490409"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.1",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-20",
  "details" : [ "GNU Emacs before 25.3 allows remote attackers to execute arbitrary code via email with crafted \"Content-Type: text/enriched\" data containing an x-display XML element that specifies execution of shell commands, related to an unsafe text/enriched extension in lisp/textmodes/enriched.el, and unsafe Gnus support for enriched and richtext inline MIME objects in lisp/gnus/mm-view.el. In particular, an Emacs user can be instantly compromised by reading a crafted email message (or Usenet news article).", "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." ],
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2017-09-19T00:00:00Z",
    "advisory" : "RHSA-2017:2771",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "emacs-1:24.3-20.el7_4"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Will not fix",
    "package_name" : "emacs",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Will not fix",
    "package_name" : "emacs",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2017-14482\nhttps://nvd.nist.gov/vuln/detail/CVE-2017-14482" ],
  "name" : "CVE-2017-14482",
  "mitigation" : {
    "value" : "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':\n;; Mitigate CVE-2017-14482 in Emacs 25.2 and earlier\n(require 'enriched)\n(defun enriched-decode-display-prop (start end &optional param)\n(list start end))",
    "lang" : "en:us"
  },
  "csaw" : false
}