Vulnerability CVE-2022-4515: Information
Description
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.
Severity: HIGH (7.8) Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
ctags | sisyphus | 5.8-alt6 | 5.8-alt6 | ALT-PU-2023-1594-1 | 318241 | Fixed |
ctags | sisyphus_e2k | 5.8-alt6 | 5.8-alt6 | ALT-PU-2023-3136-1 | - | Fixed |
ctags | sisyphus_riscv64 | 5.8-alt6 | 5.8-alt6 | ALT-PU-2023-3140-1 | - | Fixed |
ctags | p10 | 5.8-alt6 | 5.8-alt6 | ALT-PU-2024-8944-3 | 350767 | Fixed |
ctags | p10_e2k | 5.8-alt6 | 5.8-alt6 | ALT-PU-2024-9466-1 | - | Fixed |
ctags | c10f2 | 5.8-alt6 | 5.8-alt6 | ALT-PU-2024-7016-3 | 345699 | Fixed |
ctags | c9f2 | 5.8-alt6 | 5.8-alt6 | ALT-PU-2024-7014-3 | 345698 | Fixed |
ctags | p11 | 5.8-alt6 | 5.8-alt6 | ALT-PU-2023-1594-1 | 318241 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
[debian-lts-announce] 20221231 [SECURITY] [DLA 3254-1] exuberant-ctags security update |
|
[debian-lts-announce] 20221231 [SECURITY] [DLA 3254-1] exuberant-ctags security update |
|
https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56 |
|
https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56 |
|