{"api_version":"1","generated_at":"2026-07-23T10:28:21+00:00","cve":"CVE-2022-4515","urls":{"html":"https://cve.report/CVE-2022-4515","api":"https://cve.report/api/cve/CVE-2022-4515.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4515","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4515"},"summary":{"title":"CVE-2022-4515","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-12-20 19:15:00","updated_at":"2023-01-03 17:22:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00040.html","name":"[debian-lts-announce] 20221231 [SECURITY] [DLA 3254-1] exuberant-ctags security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3254-1] exuberant-ctags security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56","name":"https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56","refsource":"MISC","tags":[],"title":"Exuberant Ctags / Code /\n  [r816]\n  /tags/ctags-5.8/sort.c","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4515","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4515","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"4515","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"4515","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"exuberant_ctags_project","cpe5":"exuberant_ctags","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-4515","qid":"160658","title":"Oracle Enterprise Linux Security Update for ctags (ELSA-2023-2863)"},{"cve":"CVE-2022-4515","qid":"181492","title":"Debian Security Update for exuberant-ctags (DLA 3254-1)"},{"cve":"CVE-2022-4515","qid":"182070","title":"Debian Security Update for exuberant-ctags (CVE-2022-4515)"},{"cve":"CVE-2022-4515","qid":"199127","title":"Ubuntu Security Notification for exuberant-ctags Vulnerability (USN-5820-1)"},{"cve":"CVE-2022-4515","qid":"241511","title":"Red Hat Update for ctags (RHSA-2023:2863)"},{"cve":"CVE-2022-4515","qid":"356735","title":"Amazon Linux Security Advisory for ctags : ALAS2-2023-2343"},{"cve":"CVE-2022-4515","qid":"378643","title":"Alibaba Cloud Linux Security Update for ctags (ALINUX3-SA-2023:0069)"},{"cve":"CVE-2022-4515","qid":"753609","title":"SUSE Enterprise Linux Security Update for ctags (SUSE-SU-2023:0225-1)"},{"cve":"CVE-2022-4515","qid":"753612","title":"SUSE Enterprise Linux Security Update for ctags (SUSE-SU-2023:0224-1)"},{"cve":"CVE-2022-4515","qid":"904762","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for ctags (12085)"},{"cve":"CVE-2022-4515","qid":"904763","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for ctags (12083)"},{"cve":"CVE-2022-4515","qid":"906394","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for ctags (12083-2)"},{"cve":"CVE-2022-4515","qid":"941100","title":"AlmaLinux Security Update for ctags (ALSA-2023:2863)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-4515","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78","cweId":"CWE-78"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Exuberant Ctags","version":{"version_data":[{"version_affected":"=","version_value":"All versions are affected"}]}}]}}]}},"references":{"reference_data":[{"url":"https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56","refsource":"MISC","name":"https://sourceforge.net/p/ctags/code/HEAD/tree/tags/ctags-5.8/sort.c#l56"},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00040.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2022/12/msg00040.html"}]}},"nvd":{"publishedDate":"2022-12-20 19:15:00","lastModifiedDate":"2023-01-03 17:22:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:exuberant_ctags_project:exuberant_ctags:*:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}