Description (CNA)
Vim is an open source, command line text editor. Prior to 9.2.0479, a command injection vulnerability exists in tar#Vimuntar() in runtime/autoload/tar.vim when decompressing .tgz archives on Unix-like systems. The function builds :!gunzip and :!gzip -d commands using shellescape(tartail) without the {special} flag, allowing a crafted archive filename to trigger Vim cmdline-special expansion and execute shell commands in the user's context. This vulnerability is fixed in 9.2.0479.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| vim / vim | affected < 9.2.479 |
CWE
CWE-78, CWE-88
References
- https://github.com/vim/vim/security/advisories/GHSA-2fpv-9ff7-xg5w
- https://github.com/vim/vim/commit/3fb5e58fbc63d86a3e65f1a141b0d67af2aa38a1
- https://github.com/vim/vim/releases/tag/v9.2.0479
ADP enrichment
No English description supplied.
No references supplied.