CVE-2022-4515

EUVD-2022-51855
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.
OS Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA-ADPADP
7.8 HIGH
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 77%
Affected Products (NVD)
VendorProductVersion
exuberant_ctags_projectexuberant_ctags
*
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
exuberant-ctags
bookworm
1:5.9~svn20110310-18
fixed
bullseye
1:5.9~svn20110310-14+deb11u1
fixed
sid
1:5.9~svn20110310-19
fixed
trixie
1:5.9~svn20110310-19
fixed
universal-ctags
bookworm
5.9.20210829.0-1
fixed
bullseye
0+git20200824-1.1
fixed
sid
5.9.20210829.0-1
fixed
trixie
5.9.20210829.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
exuberant-ctags
bionic
Fixed 1:5.9~svn20110310-11ubuntu0.1
released
focal
Fixed 1:5.9~svn20110310-12ubuntu0.1
released
jammy
Fixed 1:5.9~svn20110310-16ubuntu0.22.04.1
released
kinetic
Fixed 1:5.9~svn20110310-16ubuntu0.22.10.1
released
trusty
ignored
xenial
Fixed 1:5.9~svn20110310-11ubuntu0.1~esm1
released