CyberRota Analysis
AI-GeneratedVim versions prior to 9.2.0839 are vulnerable due to improper handling of attacker-controlled Visual-mode selections in specific filetype plugins, which can lead to the execution of arbitrary operating-system commands. This vulnerability allows an attacker to execute commands with the privileges of the user running Vim, posing a significant risk to system integrity. Users and administrators of affected Vim versions should prioritize upgrading to the patched version to mitigate potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Vim is an open source, command line text editor. Prior to 9.2.0839, the runtime/ftplugin/sh.vim, runtime/ftplugin/zsh.vim, and runtime/ftplugin/ps1.vim filetype plugins pass attacker-controlled Visual-mode selections from K through keywordprg commands without safely separating shell arguments. fnameescape() and PATH_ESC_CHARS do not neutralize shell metacharacters before ShKeywordPrg, ZshKeywordPrg, or GetHelp invokes bash, zsh, or PowerShell, allowing arbitrary operating-system commands to execute with the privileges of the user running Vim. This issue is fixed in version 9.2.0839.