CVE-2023-2491
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-77 · Command injection
- Record status
- Modified
Affected
- Gnu Emacs 26.1-9.el8
- Gnu Emacs 27.2-8.el9
- Redhat Enterprise Linux 8.0
- Redhat Enterprise Linux 9.0
- Redhat Enterprise Linux Eus 8.8
- Redhat Enterprise Linux Eus 9.2
- Redhat Enterprise Linux Server Aus 8.8
- Redhat Enterprise Linux Server Aus 9.2
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-2491.md and follow it. Check whether this project is affected by CVE-2023-2491. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- https://access.redhat.com/errata/RHSA-2023:2626
- https://access.redhat.com/errata/RHSA-2023:3104
- https://access.redhat.com/security/cve/CVE-2023-2491
- https://bugzilla.redhat.com/show_bug.cgi?id=2192873
- https://access.redhat.com/errata/RHSA-2023:2626
- https://access.redhat.com/errata/RHSA-2023:3104
- https://access.redhat.com/security/cve/CVE-2023-2491
- https://bugzilla.redhat.com/show_bug.cgi?id=2192873