Name | CVE-2024-39331 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3848-1, DLA-3849-1, DSA-5718-1, DSA-5719-1, ELA-1122-1, ELA-1123-1 |
Debian Bugs | 1074136, 1074137 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
emacs (PTS) | buster (security), buster, buster (lts) | 1:26.1+1-3.2+deb10u6 | fixed |
bullseye (security), bullseye | 1:27.1+1-3.1+deb11u5 | fixed | |
bookworm (security), bookworm | 1:28.2+1-15+deb12u3 | fixed | |
sid, trixie | 1:29.4+1-4 | fixed | |
emacs24 (PTS) | jessie, jessie (lts) | 24.4+1-5+deb8u5 | fixed |
stretch (security) | 24.5+1-11+deb9u1 | vulnerable | |
stretch (lts), stretch | 24.5+1-11+deb9u5 | fixed | |
emacs25 (PTS) | stretch (security) | 25.1+1-4+deb9u1 | vulnerable |
stretch (lts), stretch | 25.1+1-4+deb9u5 | fixed | |
org-mode (PTS) | jessie | 8.2.10-1 | vulnerable |
stretch | 9.0.3-2 | vulnerable | |
buster (security), buster, buster (lts) | 9.1.14+dfsg-3+deb10u3 | fixed | |
bullseye (security), bullseye | 9.4.0+dfsg-1+deb11u3 | fixed | |
bookworm | 9.5.2+dfsh-5 | vulnerable | |
sid, trixie | 9.7.16+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
emacs | source | buster | 1:26.1+1-3.2+deb10u6 | DLA-3849-1 | ||
emacs | source | bullseye | 1:27.1+1-3.1+deb11u5 | DSA-5719-1 | ||
emacs | source | bookworm | 1:28.2+1-15+deb12u3 | DSA-5719-1 | ||
emacs | source | (unstable) | 1:29.4+1-1 | 1074137 | ||
emacs24 | source | jessie | 24.4+1-5+deb8u5 | ELA-1122-1 | ||
emacs24 | source | stretch | 24.5+1-11+deb9u5 | ELA-1122-1 | ||
emacs25 | source | stretch | 25.1+1-4+deb9u5 | ELA-1123-1 | ||
org-mode | source | jessie | (unfixed) | end-of-life | ||
org-mode | source | stretch | (unfixed) | end-of-life | ||
org-mode | source | buster | 9.1.14+dfsg-3+deb10u3 | DLA-3848-1 | ||
org-mode | source | bullseye | 9.4.0+dfsg-1+deb11u3 | DSA-5718-1 | ||
org-mode | source | (unstable) | 9.7.5+dfsg-1 | 1074136 |
[bookworm] - org-mode <ignored> (Produces only a dependency binary package)
https://www.openwall.com/lists/oss-security/2024/06/23/1
Fixed by: https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29.4&id=c645e1d8205f0f0663ec4a2d27575b238c646c7c (emacs-29.4)
Fixed by: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f4cc61636947b5c2f0afc67174dd369fe3277aa8 (release_9.7.5)