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.
CPE | Name | Operator | Version |
---|---|---|---|
debian_linux | eq | 10.0 | |
debian_linux | eq | 11.0 | |
fedora | eq | 36 | |
fedora | eq | 37 | |
emacs | le | 28.2 |
git.savannah.gnu.org/cgit/emacs.git/commit/?id=d48bb4874bc6cd3e69c7a15fc3c91cc141025c51
lists.debian.org/debian-lts-announce/2022/12/msg00046.html
lists.fedoraproject.org/archives/list/[email protected]/message/FOSK3J7BBAEI4IITW2DRUKLQYUZYKH6Y/
lists.fedoraproject.org/archives/list/[email protected]/message/GOXIH2FDEQJEAARE52C3GHTLGQFBYPIB/
www.debian.org/security/2023/dsa-5314