CVE-2022-4515CWE-78

A flaw was found in Exuberant Ctags in the way it handles the "-o" option

High · published December 20, 2022

CVSS v3.1
7.8
EPSS
1%
Percentile
48.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00608 · 48.4th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2022-12-20T00:00Z
EPSS history
Timeline
  • 20 DEC 00:00Z
    A flaw was found in Exuberant Ctags in the way it handles the "-o" option
    cvelistv5