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

Status: PUBLISHED

Assigner: mitre

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

Updated: 2024-08-03T14:24:03.228Z

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

Link: CVE-2022-45939

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T07:30:00.373

Link: CVE-2022-45939

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-11-27T00:00:00Z

Links: CVE-2022-45939 - Bugzilla