Input validation error in Emacs - CVE-2017-14482
Published: September 14, 2017 / Updated: August 4, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
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).
Affected software
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server for ARM
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux Server - 4 Year Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server (for IBM Power LE) - 4 Year Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - Extended Update Support
SUSE Linux
Fedora
Opensuse
emacs (Alpine package)
emacs (Red Hat package)
emacs
How to mitigate CVE-2017-14482
emacs (Alpine package) - update to 25.3-r0
emacs (Red Hat package) - update to 24.3-20.el7_4
emacs - addressed in versions 25.3-1.fc25, 25.3-1.fc26, 25.3-1.fc27, 25.3-3.fc27
External References
- http://www.debian.org/security/2017/dsa-3975
- http://www.openwall.com/lists/oss-security/2017/09/11/1
- https://access.redhat.com/errata/RHSA-2017:2771
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28350
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=9ad0fcc54442a9a01d41be19880250783426db70
- https://security.gentoo.org/glsa/201801-07
- https://www.debian.org/security/2017/dsa-3970
- https://www.gnu.org/software/emacs/index.html#Releases
Related Security Bulletins
- Input validation error in GNU Emacs
- OpenSUSE Linux update for emacs
- SUSE Linux update for emacs
- SUSE Linux update for emacs
- Input validation error in emacs (Alpine package)
- Amazon Linux AMI update for emacs
- Gentoo update for GNU Emacs
- Fedora 27 update for emacs
- Fedora 26 update for emacs
- Fedora 25 update for emacs
- Fedora 27 update for emacs
- Red Hat Enterprise Linux 7 update for emacs