CVE-2024-53920 In elisp-mode.el in GNU Emacs before 30.1, 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...
HighCVSS 7.8
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
Description
In elisp-mode.el in GNU Emacs before 30.1, 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.)
Upgrade path
16 packages: 8 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/xemacs21(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/xemacs21(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/xemacs21(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/xemacs21(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/xemacs21-packages(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/xemacs21-packages(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/xemacs21-packages(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/xemacs21-packages(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux emacs(Azure Linux 3.0) | < 29.4-3 | 29.4-3 | Fixed |
| cbl-mariner emacs(CBL-Mariner 2.0) | < 29.4-3 | 29.4-3 | Fixed |
| debian/emacs(Debian 12) | < 1:28.2+1-15+deb12u4; = 1:28.2+1-15; = 1:28.2+1-15+deb12u1; = 1:28.2+1-15+deb12u2 +1 more | 1:28.2+1-15+deb12u4 | Fixed |
| debian/emacs(Debian 13) | < 1:30.1+1-1 | 1:30.1+1-1 | Fixed |
| debian/emacs(Debian 14) | < 1:30.1+1-1 | 1:30.1+1-1 | Fixed |
| GNU emacs | < 30.1; = 30.0.92 | 30.1 | Fixed |
| ubuntu/emacs(Ubuntu 22.04) | < 1:27.1+1-3ubuntu5.2+esm1 | 1:27.1+1-3ubuntu5.2+esm1 | Fixed |
| ubuntu/emacs(Ubuntu 24.04) | < 1:29.3+1-1ubuntu2+esm3 | 1:29.3+1-1ubuntu2+esm3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner emacs(CBL-Mariner:2.0) | < 29.4-3 | 29.4-3 |
| azure linux emacs(Azure Linux:3.0) | < 29.4-3 | 29.4-3 |
| debian/emacs(Debian:12) | < 1:28.2+1-15+deb12u4 | 1:28.2+1-15+deb12u4 |
| debian/emacs(Debian:12) | = 1:28.2+1-15 | No fix listed |
| debian/emacs(Debian:12) | = 1:28.2+1-15+deb12u1 | No fix listed |
| debian/emacs(Debian:12) | = 1:28.2+1-15+deb12u2 | No fix listed |
| debian/emacs(Debian:12) | = 1:28.2+1-15+deb12u3 | No fix listed |
| debian/emacs(Debian:13) | < 1:30.1+1-1 | 1:30.1+1-1 |
| debian/emacs(Debian:14) | < 1:30.1+1-1 | 1:30.1+1-1 |
| ubuntu/xemacs21(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/emacs(Ubuntu:22.04) | < 1:27.1+1-3ubuntu5.2+esm1 | 1:27.1+1-3ubuntu5.2+esm1 |
| GNU emacs | = 30.0.92 | No fix listed |
| ubuntu/xemacs21(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/emacs(Ubuntu:24.04) | < 1:29.3+1-1ubuntu2+esm3 | 1:29.3+1-1ubuntu2+esm3 |
| ubuntu/xemacs21(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/xemacs21(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/xemacs21-packages(Ubuntu:26.10) | All versions | No fix listed |
| GNU emacs | < 30.1 | 30.1 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2024-53920 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8011-1 vendor-advisory
- www.cve.org
- git.savannah.gnu.org release-notes
- git.savannah.gnu.org product
- eshelyaron.com third-party-advisory
- yhetil.org mailing-list
- news.ycombinator.com issue-tracking
- git.savannah.gnu.org product
- lists.debian.org
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2024-52189 third-party-advisory