Headline
Gentoo Linux Security Advisory 202409-19
Gentoo Linux Security Advisory 202409-19 - A vulnerability has been found in Emacs and org-mode which could result in arbitrary code execution. Versions greater than or equal to 26.3-r19:26 are affected.
Gentoo Linux Security Advisory GLSA 202409-19
https://security.gentoo.org/
Severity: High
Title: Emacs, org-mode: Command Execution Vulnerability
Date: September 22, 2024
Bugs: #934736
ID: 202409-19
Synopsis
A vulnerability has been found in Emacs and org-mode which could result
in arbitrary code execution.
Background
Emacs is the extensible, customizable, self-documenting real-time
display editor. org-mode is an Emacs mode for notes and project
planning.
Affected packages
Package Vulnerable Unaffected
app-editors/emacs < 26.3-r19:26 >= 26.3-r19:26
< 27.2-r17:27 >= 27.2-r17:27
< 28.2-r13:28 >= 28.2-r13:28
< 29.3-r3:29 >= 29.3-r3:29
app-emacs/org-mode < 9.7.5 >= 9.7.5
Description
%(…) link abbreviations could specify unsafe functions.
Impact
Opening a malicious org-mode file could result in arbitrary code
execution.
Workaround
There is no known workaround at this time.
Resolution
All Emacs users should upgrade to the latest version according to the
installed slot, one of:
emerge --sync
emerge --ask --oneshot --verbose “>=app-editors/emacs-26.3-r19:26”
Alternatively:
emerge --ask --oneshot --verbose “>=app-editors/emacs-27.2-r17:27”
emerge --ask --oneshot --verbose “>=app-editors/emacs-28.2-r13:28”
emerge --ask --oneshot --verbose “>=app-editors/emacs-29.3-r3:29”
All org-mode users should upgrade to the latest package:
emerge --ask --oneshot --verbose “>=app-emacs/org-mode-9.7.5”
References
[ 1 ] CVE-2024-39331
https://nvd.nist.gov/vuln/detail/CVE-2024-39331
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202409-19
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users’ machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
Copyright 2024 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5
Related news
Ubuntu Security Notice 7027-1 - It was discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. Xi Lu discovered that Emacs incorrectly handled input sanitization. An attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.
Red Hat Security Advisory 2024-4971-03 - An update for emacs is now available for Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions, and Red Hat Enterprise Linux 8.6 Telecommunications Update Service.
Debian Linux Security Advisory 5719-1 - It was discovered that Emacs is prone to arbitrary shell code evaluation when opening a specially crafted Org file.
Debian Linux Security Advisory 5718-1 - It was discovered that Org Mode for Emacs is prone to arbitrary shell code evaluation when opening a specially crafted Org file.