Exposed dangerous method or function in Emacs - CVE-2024-53920

 

Exposed dangerous method or function in Emacs - CVE-2024-53920

Published: December 20, 2024


Vulnerability identifier: #VU101890
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2024-53920
CWE-ID: CWE-749
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
Emacs

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper input validation in elisp-mode.el. A remote attacker can trick the victim into invoking elisp-completion-at-point (for code completion) on untrusted Emacs Lisp source code, trigger unsafe Lisp macro expansion and execute arbitrary code on the system.


How to mitigate CVE-2024-53920

Install updates from vendor's website.

Sources