Gentoo: GLSA-202409-19: Emacs, org-mode: Command Execution VulnerabilitySecurity Advisory Updates
Summary
%(...) link abbreviations could specify unsafe functions.
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
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
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
Impact
Opening a malicious org-mode file could result in arbitrary code
execution.
Workaround
There is no known workaround at this time.