Vim
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*
- < 9.2.0202
A command injection vulnerability has been identified in Vim's glob() function on Unix-like systems, prior to version 9.2.0202. The issue arises because the glob() function does not properly escape newline characters in patterns, allowing an attacker to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting.
Exploitation of this vulnerability allows for arbitrary code execution with the privileges of the user running Vim.
To reproduce this vulnerability, create a pattern for the glob() function that includes a newline character. When this pattern is processed, the newline will be interpreted as a command separator, potentially leading to the execution of arbitrary shell commands.
Users can update to Vim version 9.2.0202 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.