PT-2022-7423 · Gnu Emacs+10 · Gnu Emacs+10
Published
2022-11-27
·
Updated
2025-04-28
·
CVE-2022-45939
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
GNU Emacs versions through 28.2
Description
The issue is related to the incorrect neutralization of special elements in the lib-src/etags.c component of the ctags program in the EMACS text editor. This can allow an attacker to execute commands via shell metacharacters in the name of a source-code file. For example, a victim may use the "ctags *" command in a situation where the current working directory has contents that depend on untrusted input.
Recommendations
For GNU Emacs versions through 28.2, consider avoiding the use of the "ctags *" command in situations where the current working directory has contents that depend on untrusted input, as a temporary workaround to minimize the risk of exploitation.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Debian
Gnu Emacs
Linuxmint
Red Hat
Red Os
Suse
Ubuntu