CVEfocus › CVE database › CVE-2022-4515

CVE-2022-4515

CVSS 7.8 HighEPSS 0.6% (higher than 50% of CVEs)Published 2022-12-20Updated 2025-04-14Assigner: redhat

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.

CWE-78

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
2Fix pending
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04exuberant-ctagsFixed1:5.9~svn20110310-16ubuntu0.22.04.1UBUNTU-CVE-2022-4515
Ubuntu 20.04exuberant-ctagsFixed1:5.9~svn20110310-12ubuntu0.1UBUNTU-CVE-2022-4515
Ubuntu 18.04exuberant-ctagsFixed1:5.9~svn20110310-11ubuntu0.1UBUNTU-CVE-2022-4515
Ubuntu 16.04exuberant-ctagsFix pending1:5.9~svn20110310-11ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-4515
Ubuntu 14.04exuberant-ctagsFix pending
Debian 14exuberant-ctagsFixed1:5.9~svn20110310-18DEBIAN-CVE-2022-4515
Debian 13exuberant-ctagsFixed1:5.9~svn20110310-18DEBIAN-CVE-2022-4515
Debian 12exuberant-ctagsFixed1:5.9~svn20110310-18DEBIAN-CVE-2022-4515
Red Hat Enterprise Linux 8ctagsFixed0:5.8-23.el8RHSA-2023:2863
Red Hat Enterprise Linux 8ctags-etagsFixed0:5.8-23.el8RHSA-2023:2863
Red Hat Enterprise Linux 7ctagsWill not fix
Out of support scope
Red Hat Enterprise Linux 7ctags-etagsWill not fix
Out of support scope
Red Hat Enterprise Linux 6ctagsWill not fix
Out of support scope
Red Hat Enterprise Linux 6ctags-etagsWill not fix
Out of support scope
AlmaLinux 8ctagsFixed5.8-23.el8ALSA-2023:2863
AlmaLinux 8ctags-etagsFixed5.8-23.el8ALSA-2023:2863
Rocky Linux 8ctagsFixed0:5.8-23.el8RLSA-2023:2863

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.