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 results in arbitrary command execution because the externalSortTags() in sort.c calls the system(3) function in an unsafe way.
Configurations

Configuration 1 (hide)

cpe:2.3:a:exuberant_ctags_project:exuberant_ctags:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2022-12-20 19:15

Updated : 2024-02-28 19:51


NVD link : CVE-2022-4515

Mitre link : CVE-2022-4515

CVE.ORG link : CVE-2022-4515


JSON object : View

Products Affected

debian

  • debian_linux

exuberant_ctags_project

  • exuberant_ctags
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

NVD-CWE-noinfo