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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-12-20T00:00:00

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

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

Link: CVE-2022-4515

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2023-01-03T17:22:43.047

Link: CVE-2022-4515

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2022-4515 - Bugzilla