PT-2022-7037 · Unknown+8 · Exuberant Ctags+8
Published
2022-12-19
·
Updated
2024-06-28
·
CVE-2022-4515
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Exuberant Ctags (affected versions not specified)
Description
A flaw was found in Exuberant Ctags in the way it handles the "-o" option, which 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() function in sort.c calls the system(3) function in an unsafe way. This allows an attacker to execute arbitrary commands.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Exuberant Ctags
Linuxmint
Red Hat
Suse
Ubuntu