CVE-2022-4515
highpriority · track · 31EPSS 0.006 · 49 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedctags-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-0:5.8-23.el8.src as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debuginfo-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-debugsource-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-etags-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-etags-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-etags-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Fixedctags-etags-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2023:2863 - Workaroundctags-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-0:5.8-23.el8.src as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debuginfo-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-debugsource-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-etags-0:5.8-23.el8.aarch64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-etags-0:5.8-23.el8.ppc64le as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-etags-0:5.8-23.el8.s390x as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
- Workaroundctags-etags-0:5.8-23.el8.x86_64 as a component of Red Hat Enterprise Linux CRB (v. 8)redhat_csaf
The --options=NONE command line option will disable the automatic reading of any configuration file, including the .ctags configuration file from the current directory. However, this option will prevent ctags of reading the specific configuration provided by a project via a version control system repository.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (45)
Products and version ranges known to be affected.
- exuberant ctags project exuberant ctagsall versionsnvdUScpe:2.3:a:exuberant_ctags_project:exuberant_ctags:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- RHSA-2023:2863Red Hat Security Advisory: ctags security update2023-05-16csaf · redhat_csafUS
An update for ctags is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2023-1238Red Hat Enterprise Linux: Mehrere Schwachstellen in verschiedenen KomponentenDeutsch2023-05-16csaf · cert_bundDE
Ein entfernter, anonymer oder lokaler Angreifer kann mehrere Schwachstellen in verschiedenen Komponenten von Red Hat Enterprise Linux ausnutzen, um die Vertraulichkeit, Integrität und Verfügbarkeit zu gefährden.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2022-4515cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-4515/cnnvd
- https://lists.debian.org/debian-lts-announce/2022/12/msg00040.htmlcnnvd
- https://packetstormsecurity.com/files/170692/Ubuntu-Security-Notice-USN-5820-1.htmlcnnvd
- https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56cnnvd
- https://vigilance.fr/vulnerability/Exuberant-Ctag-code-execution-via-Tag-Filename-40202cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.0054cnnvd
- https://www.auscert.org.au/bulletins/ESB-2023.0619cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan