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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2022-11-28T00:00:00

Updated: 2023-01-12T00:00:00

Reserved: 2022-11-28T00:00:00


Link: CVE-2022-45939

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2022-11-28T06:15:10.563

Modified: 2023-11-07T03:54:59.217


Link: CVE-2022-45939

JSON object: View

cve-icon Redhat Information

No data.

CWE