CVE-2022-4515 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 res...
HighCVSS 7.8
EPSS 0.61%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/exuberant-ctags(Debian:12) | < 1:5.9~svn20110310-18 | 1:5.9~svn20110310-18 |
| debian/exuberant-ctags(Debian:13) | < 1:5.9~svn20110310-18 | 1:5.9~svn20110310-18 |
| debian/exuberant-ctags(Debian:14) | < 1:5.9~svn20110310-18 | 1:5.9~svn20110310-18 |
| ubuntu/exuberant-ctags(Ubuntu:22.04) | < 1:5.9~svn20110310-16ubuntu0.22.04.1 | 1:5.9~svn20110310-16ubuntu0.22.04.1 |
| exuberant ctags project exuberant ctags | All versions | No fix listed |
| debian linux | = 10.0 | No fix listed |
References
- Debian Security Tracker CVE-2022-4515 vendor-advisory
- sourceforge.net exploit third-party-advisory
- [debian-lts-announce] 20221231 [SECURITY] [DLA 3254-1] exuberant-ctags security update mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-5820-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking