Arbitrary Code Injection Affecting emacs-devel package, versions <1:28.2-3.amzn2023.0.9


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-EMACSDEVEL-8742674
  • published22 Feb 2025
  • disclosed27 Nov 2024

Introduced: 27 Nov 2024

CVE-2024-53920  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 emacs-devel to version 1:28.2-3.amzn2023.0.9 or higher.
This issue was patched in ALAS2023-2025-849.

NVD Description

Note: Versions mentioned in the description apply only to the upstream emacs-devel package and not the emacs-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.)

CVSS Scores

version 3.1