NetSight
high7.8

CVE-2022-45939

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…

Impact

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.

Affected products

VendorProductAffected versions
GnuEmacs
through 28.2
DebianDebian Linux
Versions 10.0, 11.0
FedoraprojectFedora
Versions 36, 37

Weakness classification

References