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

Published: Dec. 20, 2022
Modified: Jan. 3, 2023
Error type identifier: CWE-78

Fixed packages

Package name
Branch
Fixed in version
Version from repository
Errata ID
Task #
State
ctagssisyphus5.8-alt65.8-alt6ALT-PU-2023-1594-1318241Fixed
ctagssisyphus_e2k5.8-alt65.8-alt6ALT-PU-2023-3136-1-Fixed
ctagssisyphus_mipsel5.8-alt65.8-alt6ALT-PU-2023-3138-1-Fixed
ctagssisyphus_riscv645.8-alt65.8-alt6ALT-PU-2023-3140-1-Fixed

References to Advisories, Solutions, and Tools

    1. Configuration 1

      cpe:2.3:a:exuberant_ctags_project:exuberant_ctags:*:*:*:*:*:*:*:*

      Configuration 2

      cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*