Vulnerability · Published May 17, 2023 · Assigned by redhat

CVE-2023-2491

High 7.8

In plain English

A high-severity command injection in emacs. 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 40% 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.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A flaw was found in the Emacs text editor. Processing a specially crafted org-mode code with the "org-babel-execute:latex" function in ob-latex.el can result in arbitrary command execution. This CVE exists because of a CVE-2023-28617 security regression for the emacs package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8emacs1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux:9emacs1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux:8emacs-common1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux:9emacs-common1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux:8emacs-filesystem1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux:9emacs-filesystem1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux:8emacs-lucid1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux:9emacs-lucid1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux:8emacs-nox1:26.1-10.el8_8.2ALSA-2023:3104
AlmaLinux:9emacs-nox1:27.2-8.el9_2.1ALSA-2023:2626
AlmaLinux:8emacs-terminal1:26.1-10.el8_8.2ALSA-2023:3104

Affected products (as reported)

VendorProductVersions
n/a emacs Affects emacs v26.1-9.el8 and emacs v27.2-8.el9, Fixed in emacs v26.1-10.el8_8.2 and emacs v27.2-8.el9_2.1

Weakness: CWE-77 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References