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 ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
01 Mar 2023, 14:48
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
References | (MISC) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51 - Patch | |
CPE | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
01 Dec 2022, 19:48
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
References | (MISC) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51 - Mailing List, Patch, Vendor Advisory | |
CWE | CWE-78 | |
CPE | cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:* |
28 Nov 2022, 13:55
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-11-28 06:15
Updated : 2024-02-04 23:14
NVD link : CVE-2022-45939
Mitre link : CVE-2022-45939
CVE.ORG link : CVE-2022-45939
JSON object : View
Products Affected
debian
- debian_linux
fedoraproject
- fedora
gnu
- emacs
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')