Unrated severityNVD Advisory· Published Feb 20, 2023· Updated Mar 18, 2025
CVE-2022-48337
CVE-2022-48337
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
35- osv-coords33 versionspkg:rpm/almalinux/emacspkg:rpm/almalinux/emacs-commonpkg:rpm/almalinux/emacs-filesystempkg:rpm/almalinux/emacs-lucidpkg:rpm/almalinux/emacs-noxpkg:rpm/almalinux/emacs-terminalpkg:rpm/opensuse/emacs&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/emacs&distro=openSUSE%20Tumbleweedpkg:rpm/suse/emacs&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/emacs&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP4pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-ESPOSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/emacs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/emacs&distro=SUSE%20Manager%20Proxy%204.2pkg:rpm/suse/emacs&distro=SUSE%20Manager%20Server%204.2pkg:rpm/suse/emacs&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/emacs&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 1:27.2-8.el9_2.1+ 32 more
- (no CPE)range: < 1:27.2-8.el9_2.1
- (no CPE)range: < 1:27.2-8.el9_2.1
- (no CPE)range: < 1:27.2-8.el9_2.1
- (no CPE)range: < 1:27.2-8.el9_2.1
- (no CPE)range: < 1:27.2-8.el9_2.1
- (no CPE)range: < 1:26.1-11.el8
- (no CPE)range: < 27.2-150400.3.6.1
- (no CPE)range: < 28.2-2.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 27.2-150400.3.6.1
- (no CPE)range: < 27.2-150400.3.6.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 24.3-25.12.1
- (no CPE)range: < 24.3-25.12.1
- (no CPE)range: < 24.3-25.12.1
- (no CPE)range: < 24.3-25.12.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 24.3-25.12.1
- (no CPE)range: < 24.3-25.12.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 25.3-150000.3.15.1
- (no CPE)range: < 24.3-25.12.1
- (no CPE)range: < 24.3-25.12.1
Patches
Vulnerability mechanics
References
5- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/mitrevendor-advisory
- www.debian.org/security/2023/dsa-5360mitrevendor-advisory
- lists.debian.org/debian-lts-announce/2023/05/msg00008.htmlmitremailing-list
- git.savannah.gnu.org/cgit/emacs.git/commit/mitre
News mentions
0No linked articles in our index yet.