Use of Potentially Dangerous Function in Emacs - CVE-2024-39331

 

Use of Potentially Dangerous Function in Emacs - CVE-2024-39331

Published: June 24, 2024


Vulnerability identifier: #VU93118
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-39331
CWE-ID: CWE-676
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 org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function. A remote attacker can execute arbitrary OS commands on the system.


How to mitigate CVE-2024-39331

Install updates from vendor's website.

Sources