vulnerability

Red Hat: CVE-2022-4515: arbitrary command execution via a tag file with a crafted filename (Multiple Advisories)

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
Dec 20, 2022
Added
May 17, 2023
Modified
Aug 11, 2025

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.

Solutions

no-fix-redhat-rpm-packageredhat-upgrade-ctagsredhat-upgrade-ctags-debuginforedhat-upgrade-ctags-debugsourceredhat-upgrade-ctags-etags
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.