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.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1:5.9~svn20110310-11ubuntu0.1~esm1", "binary_name": "exuberant-ctags" }, { "binary_version": "1:5.9~svn20110310-11ubuntu0.1~esm1", "binary_name": "exuberant-ctags-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1:5.9~svn20110310-16ubuntu0.22.04.1", "binary_name": "exuberant-ctags" }, { "binary_version": "1:5.9~svn20110310-16ubuntu0.22.04.1", "binary_name": "exuberant-ctags-dbgsym" } ] }