Lucene search

K
prionPRIOn knowledge basePRION:CVE-2022-45939
HistoryNov 28, 2022 - 6:15 a.m.

Input validation

2022-11-2806:15:00
PRIOn knowledge base
www.prio-n.com
15
emacs
source code
vulnerability
command execution
shell metacharacters
ctags
untrusted input

7.7 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

34.4%

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.