Name | CVE-2023-28617 |
Description | org-babel-execute:latex in ob-latex.el in Org Mode through 9.6.1 for GNU Emacs allows attackers to execute arbitrary commands via a file name or directory name that contains shell metacharacters. |
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-3416-1, DLA-3616-1 |
Debian Bugs | 1033341, 1033342 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
emacs (PTS) | bullseye (security), bullseye | 1:27.1+1-3.1+deb11u5 | vulnerable |
| bookworm, bookworm (security) | 1:28.2+1-15+deb12u3 | fixed |
| sid, trixie | 1:29.4+1-3 | fixed |
org-mode (PTS) | bullseye (security), bullseye | 9.4.0+dfsg-1+deb11u3 | fixed |
| bookworm | 9.5.2+dfsh-5 | fixed |
| sid, trixie | 9.7.11+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - emacs <no-dsa> (Minor issue)
https://list.orgmode.org/tencent_04CF842704737012CCBCD63CD654DD41CA0A%40qq.com/T/#m6ef8e7d34b25fe17b4cbb655b161edce18c6655e
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8f8ec2ccf3f5ef8f38d68ec84a7e4739c45db485 (release_9.6.2)
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a8006ea580ed74f27f974d60b598143b04ad1741 (release_9.6.2)
org-mode/9.5.2+dfsh-5 dropped all lisp files from the produced binary packages
making an empty dependency package only thus considered fixed exceptionally in
that version.