Rapid7 Vulnerability & Exploit Database

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

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

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

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
12/20/2022
Created
05/17/2023
Added
05/17/2023
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-ctags
  • redhat-upgrade-ctags-debuginfo
  • redhat-upgrade-ctags-debugsource
  • redhat-upgrade-ctags-etags

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;