A flaw was found in Exuberant Ctags in the way it handles the "-o" option.
This option specifies the tag filename. A crafted tag filename specified
in the command line or in the configuration file results in arbitrary
command execution because the externalSortTags() in sort.c calls the
system(3) function in an unsafe way. (CVE-2022-4515)
- https://bugs.mageia.org/show_bug.cgi?id=31359
- https://lists.debian.org/debian-lts-announce/2022/12/msg00040.html
- https://www.cve.org/CVERecord?id=CVE-2022-4515
- 8/core/ctags-5.8-15.1.mga8
Get the latest Linux and open source security news straight to your inbox.