{"id":"MGASA-2023-0003","summary":"Updated ctags packages fix security vulnerability","details":"A flaw was found in Exuberant Ctags in the way it handles the \"-o\" option.\nThis option specifies the tag filename. A crafted tag filename specified\nin the command line or in the configuration file results in arbitrary\ncommand execution because the externalSortTags() in sort.c calls the\nsystem(3) function in an unsafe way. (CVE-2022-4515)\n","modified":"2026-04-16T04:43:37.415976571Z","published":"2023-01-13T17:37:09Z","upstream":["CVE-2022-4515"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2023-0003.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=31359"},{"type":"WEB","url":"https://www.debian.org/lts/security/2022/dla-3254"}],"affected":[{"package":{"name":"ctags","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/ctags?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.8-15.1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2023-0003.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}