Debian Security Advisory

DLA-3254-1 exuberant-ctags -- LTS security update

Date Reported:
31 Dec 2022
Affected Packages:
exuberant-ctags
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2022-4515.
More information:

A flaw was found in the way the exubertant-ctags source code parser handled the "-o" command-line option which specifies the tag filename. A crafted tag filename specified in the command line or in the configuration file could have resulted in arbitrary command execution because the externalSortTags() in sort.c calls the system(3) function in an unsafe way.

  • CVE-2022-4515

    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.

For Debian 10 Buster, this problem has been fixed in version 1:5.9~svn20110310-12+deb10u1.

We recommend that you upgrade your exuberant-ctags packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS