RCE in GNU Emacs
CVE-2022-48337
GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.016 (76.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.016 · newest: 0.016 · change: 0.000
Affected products
- GNU Emacs
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- git.savannah.gnu.org/cgit/emacs.git/commit/ (Patch)
- www.debian.org/security/2023/dsa-5360 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/05/msg00008.html (mailing-list)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2022-48337?
- CVE-2022-48337 is a critical-severity vulnerability in GNU Emacs, classified under OS Command Injection. CVSS score: 9.8/10. Published 2023-02-20.
- How severe is CVE-2022-48337?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-48337 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.