VulnerabilityAnalyzed
CVE-2024-39331
In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string.
CRITICAL 9.8EPSS 1.32%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.32%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
In Emacs before 29.4, org-link-expand-abbrev in lisp/ol.el expands a %(...) link abbrev even when it specifies an unsafe function, such as shell-command-to-string. This affects Org Mode before 9.7.5.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.32% probability · 69th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- gnu/emacs
- Source
- cve@mitre.org
References
- https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29Release Notes
- https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8Mailing List, Patch
- https://list.orgmode.org/87sex5gdqc.fsf%40localhost/Mailing List
- https://lists.debian.org/debian-lts-announce/2024/06/msg00023.htmlMailing List
- https://lists.debian.org/debian-lts-announce/2024/06/msg00024.htmlMailing List
- https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.htmlMailing List
- https://news.ycombinator.com/item?id=40768225Mailing List
- https://www.openwall.com/lists/oss-security/2024/06/23/1Mailing List
- https://www.openwall.com/lists/oss-security/2024/06/23/2Mailing List
- https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29Release Notes
- https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8Mailing List, Patch
- https://list.orgmode.org/87sex5gdqc.fsf%40localhost/Mailing List
- https://lists.debian.org/debian-lts-announce/2024/06/msg00023.htmlMailing List
- https://lists.debian.org/debian-lts-announce/2024/06/msg00024.htmlMailing List
- https://lists.gnu.org/archive/html/info-gnu-emacs/2024-06/msg00000.htmlMailing List
- https://news.ycombinator.com/item?id=40768225Mailing List
- https://www.openwall.com/lists/oss-security/2024/06/23/1Mailing List
- https://www.openwall.com/lists/oss-security/2024/06/23/2Mailing List
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.