Name | CVE-2024-53920 |
Description | In elisp-mode.el in GNU Emacs through 30.0.92, a user who chooses to invoke elisp-completion-at-point (for code completion) on untrusted Emacs Lisp source code can trigger unsafe Lisp macro expansion that allows attackers to execute arbitrary code. (This unsafe expansion also occurs if a user chooses to enable on-the-fly diagnosis that byte compiles untrusted Emacs Lisp source code.) |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1088690 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
emacs (PTS) | buster (security), buster, buster (lts) | 1:26.1+1-3.2+deb10u6 | vulnerable |
| bullseye (security), bullseye | 1:27.1+1-3.1+deb11u5 | vulnerable |
| bookworm (security), bookworm | 1:28.2+1-15+deb12u3 | vulnerable |
| sid, trixie | 1:29.4+1-4 | vulnerable |
emacs24 (PTS) | jessie, jessie (lts) | 24.4+1-5+deb8u5 | vulnerable |
| stretch (security) | 24.5+1-11+deb9u1 | vulnerable |
| stretch (lts), stretch | 24.5+1-11+deb9u5 | vulnerable |
emacs25 (PTS) | stretch (security) | 25.1+1-4+deb9u1 | vulnerable |
| stretch (lts), stretch | 25.1+1-4+deb9u5 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
emacs | source | (unstable) | (unfixed) | | | 1088690 |
emacs24 | source | (unstable) | (unfixed) | | | |
emacs25 | source | (unstable) | (unfixed) | | | |
Notes
[bookworm] - emacs <postponed> (Minor issue, revisit when fixed upstream)
[bullseye] - emacs <postponed> (Minor issue, revisit when fixed upstream)
https://eshelyaron.com/posts/2024-11-27-emacs-aritrary-code-execution-and-how-to-avoid-it.html
https://yhetil.org/emacs/CAFXAjY5f4YfHAtZur1RAqH34UbYU56_t6t2Er0YEh1Sb7-W=hg%40mail.gmail.com/
[buster] - emacs <postponed> (Minor issue, revisit when fixed upstream)
[stretch] - emacs24 <postponed> (Minor issue, revisit when fixed upstream)
[jessie] - emacs24 <postponed> (Minor issue, revisit when fixed upstream)
[stretch] - emacs25 <postponed> (Minor issue, revisit when fixed upstream)