CVE-2017-14482
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).
What to do
Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | emacs24 | Fixed | 24.5+1-6ubuntu1.1 | UBUNTU-CVE-2017-14482 |
| Ubuntu 14.04 | emacs23 | Fix pending | ||
| Ubuntu 14.04 | emacs24 | Fixed | 24.3+1-2ubuntu1.1 | UBUNTU-CVE-2017-14482 |
| Red Hat Enterprise Linux 7 | emacs | Fixed | 1:24.3-20.el7_4 | RHSA-2017:2771 |
| Red Hat Enterprise Linux 7 | emacs-common | Fixed | 1:24.3-20.el7_4 | RHSA-2017:2771 |
| Red Hat Enterprise Linux 7 | emacs-el | Fixed | 1:24.3-20.el7_4 | RHSA-2017:2771 |
| Red Hat Enterprise Linux 7 | emacs-filesystem | Fixed | 1:24.3-20.el7_4 | RHSA-2017:2771 |
| Red Hat Enterprise Linux 7 | emacs-nox | Fixed | 1:24.3-20.el7_4 | RHSA-2017:2771 |
| Red Hat Enterprise Linux 7 | emacs-terminal | Fixed | 1:24.3-20.el7_4 | RHSA-2017:2771 |
| Red Hat Enterprise Linux 6 | emacs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-common | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-el | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | emacs-nox | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | emacs | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3975 (vendor-advisory)
- https://www.debian.org/security/2017/dsa-3970 (vendor-advisory)
- https://security.gentoo.org/glsa/201801-07 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2771 (vendor-advisory)
References
- http://www.debian.org/security/2017/dsa-3975
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=9ad0fcc54442a9a01d41be19880250783426db70
- https://www.debian.org/security/2017/dsa-3970
- https://security.gentoo.org/glsa/201801-07
- https://access.redhat.com/errata/RHSA-2017:2771
- https://www.gnu.org/software/emacs/index.html#Releases
- http://www.openwall.com/lists/oss-security/2017/09/11/1
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28350
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.