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.
OS Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
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
redhatCNA
---
---
CVEADP
---
---
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: 67%
VendorProductVersion
exuberant_ctags_projectexuberant_ctags
*
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
exuberant-ctags
bullseye
1:5.9~svn20110310-14+deb11u1
fixed
bookworm
1:5.9~svn20110310-18
fixed
sid
1:5.9~svn20110310-19
fixed
trixie
1:5.9~svn20110310-19
fixed
universal-ctags
bullseye
0+git20200824-1.1
fixed
sid
5.9.20210829.0-1
fixed
trixie
5.9.20210829.0-1
fixed
bookworm
5.9.20210829.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
exuberant-ctags
kinetic
Fixed 1:5.9~svn20110310-16ubuntu0.22.10.1
released
jammy
Fixed 1:5.9~svn20110310-16ubuntu0.22.04.1
released
focal
Fixed 1:5.9~svn20110310-12ubuntu0.1
released
bionic
Fixed 1:5.9~svn20110310-11ubuntu0.1
released
xenial
Fixed 1:5.9~svn20110310-11ubuntu0.1~esm1
released
trusty
ignored