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


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.64% (49th 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 IDSNYK-AMZN2023-EMACSNOX-8742676
  • 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-nox 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-nox package and not the emacs-nox 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 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.)

CVSS Base Scores

version 3.1