Vulnerability · Published Mar 19, 2023 · Assigned by mitre
CVE-2023-28617
High 7.8
In plain English
A high-severity OS command injection in the emacs package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.5%top 59.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | emacs | 1:26.1-10.el8_8.2 | ALSA-2023:3104 |
| AlmaLinux:8 | emacs | 1:26.1-7.el8_7.1 | ALSA-2023:1930 |
| AlmaLinux:9 | emacs | 1:27.2-6.el9_1.1 | ALSA-2023:2074 |
| AlmaLinux:9 | emacs | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux:8 | emacs-common | 1:26.1-10.el8_8.2 | ALSA-2023:3104 |
| AlmaLinux:8 | emacs-common | 1:26.1-7.el8_7.1 | ALSA-2023:1930 |
| AlmaLinux:9 | emacs-common | 1:27.2-6.el9_1.1 | ALSA-2023:2074 |
| AlmaLinux:9 | emacs-common | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux:8 | emacs-filesystem | 1:26.1-10.el8_8.2 | ALSA-2023:3104 |
| AlmaLinux:8 | emacs-filesystem | 1:26.1-7.el8_7.1 | ALSA-2023:1930 |
| AlmaLinux:9 | emacs-filesystem | 1:27.2-6.el9_1.1 | ALSA-2023:2074 |
| AlmaLinux:9 | emacs-filesystem | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux:8 | emacs-lucid | 1:26.1-10.el8_8.2 | ALSA-2023:3104 |
| AlmaLinux:8 | emacs-lucid | 1:26.1-7.el8_7.1 | ALSA-2023:1930 |
| AlmaLinux:9 | emacs-lucid | 1:27.2-6.el9_1.1 | ALSA-2023:2074 |
| AlmaLinux:9 | emacs-lucid | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux:8 | emacs-nox | 1:26.1-10.el8_8.2 | ALSA-2023:3104 |
| AlmaLinux:8 | emacs-nox | 1:26.1-7.el8_7.1 | ALSA-2023:1930 |
| AlmaLinux:9 | emacs-nox | 1:27.2-8.el9_2.1 | ALSA-2023:2626 |
| AlmaLinux:9 | emacs-nox | 1:27.2-6.el9_1.1 | ALSA-2023:2074 |
| AlmaLinux:8 | emacs-terminal | 1:26.1-10.el8_8.2 | ALSA-2023:3104 |
| AlmaLinux:8 | emacs-terminal | 1:26.1-7.el8_7.1 | ALSA-2023:1930 |
| Debian:12 | emacs | 1:28.2+1-14 | DEBIAN-CVE-2023-28617 |
| Debian:13 | emacs | 1:28.2+1-14 | DEBIAN-CVE-2023-28617 |
| Debian:14 | emacs | 1:28.2+1-14 | DEBIAN-CVE-2023-28617 |
| Debian:12 | org-mode | 9.5.2+dfsh-5 | DEBIAN-CVE-2023-28617 |
| Debian:13 | org-mode | 9.5.2+dfsh-5 | DEBIAN-CVE-2023-28617 |
| Debian:14 | org-mode | 9.5.2+dfsh-5 | DEBIAN-CVE-2023-28617 |
| Rocky Linux:8 | emacs | 1:26.1-7.el8_7.1 | RLSA-2023:1930 |
| Rocky Linux:9 | emacs | 1:27.2-6.el9_1.1 | RLSA-2023:2074 |
| Ubuntu:22.04:LTS | emacs | 1:27.1+1-3ubuntu5.2 | USN-7027-1 |
| Ubuntu:22.04:LTS | emacs | 1:27.1+1-3ubuntu5.2 | UBUNTU-CVE-2023-28617 |
| Ubuntu:22.04:LTS | xemacs21 | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:24.04:LTS | xemacs21 | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:25.10 | xemacs21 | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:26.04:LTS | xemacs21 | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:26.10 | xemacs21 | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:22.04:LTS | xemacs21-packages | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:24.04:LTS | xemacs21-packages | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:25.10 | xemacs21-packages | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:26.04:LTS | xemacs21-packages | no fix listed | UBUNTU-CVE-2023-28617 |
| Ubuntu:26.10 | xemacs21-packages | no fix listed | UBUNTU-CVE-2023-28617 |
Affected products (as reported)
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://list.orgmode.org/tencent_04CF842704737012CCBCD63CD654DD41CA0A%40qq.com/T/#m6ef8e7d34b25fe17b4cbb655b161edce18c6655e
- https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8f8ec2ccf3f5ef8f38d68ec84a7e4739c45db485
- https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a8006ea580ed74f27f974d60b598143b04ad1741
- [debian-lts-announce] 20230509 [SECURITY] [DLA 3416-1] emacs security update mailing-list
- [debian-lts-announce] 20231012 [SECURITY] [DLA 3616-1] org-mode security update mailing-list
- https://lists.debian.org/debian-lts-announce/2025/02/msg00033.html