CVE-2022-4515
Last modified
CVE-2022-4515 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. A flaw was found in Exuberant Ctags in the way it handles the "-o" option. This option specifies the tag filename. EPSS estimates a 0.58% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Exuberant Ctags Project | Exuberant Ctags | All versions |
| Debian | Debian Linux | 10.0 |
References
- https://lists.debian.org/debian-lts-announce/2022/12/msg00040.htmlMailing List, Third Party Advisory
- https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56Exploit, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00040.htmlMailing List, Third Party Advisory
- https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-4515?
How severe is CVE-2022-4515?
How do I fix CVE-2022-4515?
Are you affected by CVE-2022-4515?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
