CVEvulnerability
CVE-2022-4515
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-12-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
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.
Affected configurations
• exuberant ctags project exuberant ctags
• debian debian linux 10.0
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://lists.debian.org/debian-lts-announce/2022/12/msg00040.html Mailing List, Third Party Advisory
- https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56 Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00040.html Mailing List, Third Party Advisory
- https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56 Exploit, Third Party Advisory