CVE-2022-4515

Summary

CVECVE-2022-4515
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-12-20 19:15:00 UTC
Updated2023-01-03 17:22:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Application Exuberant Ctags Project Exuberant Ctags All All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 3254-1] exuberant-ctags security update MLIST lists.debian.org
Exuberant Ctags / Code / [r816] /tags/ctags-5.8/sort.c MISC sourceforge.net
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160658 Oracle Enterprise Linux Security Update for ctags (ELSA-2023-2863)
  • 181492 Debian Security Update for exuberant-ctags (DLA 3254-1)
  • 182070 Debian Security Update for exuberant-ctags (CVE-2022-4515)
  • 199127 Ubuntu Security Notification for exuberant-ctags Vulnerability (USN-5820-1)
  • 241511 Red Hat Update for ctags (RHSA-2023:2863)
  • 356735 Amazon Linux Security Advisory for ctags : ALAS2-2023-2343
  • 378643 Alibaba Cloud Linux Security Update for ctags (ALINUX3-SA-2023:0069)
  • 753609 SUSE Enterprise Linux Security Update for ctags (SUSE-SU-2023:0225-1)
  • 753612 SUSE Enterprise Linux Security Update for ctags (SUSE-SU-2023:0224-1)
  • 904762 Common Base Linux Mariner (CBL-Mariner) Security Update for ctags (12085)
  • 904763 Common Base Linux Mariner (CBL-Mariner) Security Update for ctags (12083)
  • 906394 Common Base Linux Mariner (CBL-Mariner) Security Update for ctags (12083-2)
  • 941100 AlmaLinux Security Update for ctags (ALSA-2023:2863)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report