Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n/a / Exuberant Ctags | affected All versions are affected |
CWE
CWE-78
References
- https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56
- https://lists.debian.org/debian-lts-announce/2022/12/msg00040.html
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.