CVE-2008-2142 Code injection in n/a
Attackers can execute arbitrary code by tricking users into opening files with malicious associated .flc lock files in Emacs or XEmacs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2008-2142?
CVE-2008-2142 is a medium-severity code injection vulnerability in n/a, published on 12 May 2008. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Emacs 21 and XEmacs automatically load and execute .flc (fast lock) files that are associated with other files that are edited within Emacs, which allows user-assisted attackers to execute arbitrary code.
Which versions are affected by CVE-2008-2142?
It affects 2 products.
Products include Gnu Emacs, Gnu Xemacs.
How do I fix CVE-2008-2142?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2008-2142 being exploited?
There is no known exploitation of CVE-2008-2142 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2008-2142, GHSA-6hwc-q43w-j73j.