A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Vim is an open source, command line text editor. Prior to 9.2.0699, Vim's Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. When reconstructing that source, each scope's docstring is inserted verbatim between triple quotes with no escaping, so a hostile buffer can break out of the triple-quoted literal and execute attacker-controlled Python during omni-completion. This vulnerability is fixed in 9.2.0699.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Vim vim
Weakness type
References
- github.com /vim/vim/commit/cce141c42740f122dd8486ae04e21c2a81016ba8
- github.com /vim/vim/releases/tag/v9.2.0699
- github.com /vim/vim/security/advisories/GHSA-ppj8-wqjf-6fp3
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning