Vulnerability 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 Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Emacs | < 29.4 |
Related Weaknesses (CWE)
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=f4cc61636947b5c2Mailing ListPatch
- 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=f4cc61636947b5c2Mailing ListPatch
- 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
FAQ
What is CVE-2024-39331?
CVE-2024-39331 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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.
How severe is CVE-2024-39331?
CVE-2024-39331 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-39331?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Emacs.