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.
Published: 2022-12-20
Score: 7.8 High
EPSS: 1.0% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3254-1 exuberant-ctags security update
EUVD EUVD EUVD-2022-51855 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.
Ubuntu USN Ubuntu USN USN-5820-1 exuberant-ctags vulnerability
History

Mon, 14 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Debian Debian Linux
Exuberant Ctags Project Exuberant Ctags
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-04-14T18:14:57.235Z

Reserved: 2022-12-15T00:00:00.000Z

Link: CVE-2022-4515

cve-icon Vulnrichment

Updated: 2024-08-03T01:41:45.615Z

cve-icon NVD

Status : Modified

Published: 2022-12-20T19:15:25.190

Modified: 2025-04-14T19:15:35.290

Link: CVE-2022-4515

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-12-19T00:00:00Z

Links: CVE-2022-4515 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses