| タイトル | Vimにおける複数の脆弱性 |
|---|---|
| 概要 | Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0561以前では、+python3インタプリタが有効なVimのpython3complete.vimにあるPythonオムニ補完スクリプト(および+pythonインタプリタを使用したビルドの旧来のpythoncomplete.vim)が、現在のバッファ内で見つかったimportおよびfromステートメントをPythonのimport機構を通じて実行します。バッファの作業ディレクトリがsys.pathに存在するため、攻撃者が用意した隣接するPythonパッケージを含む悪意のある.pyファイルを開き、オムニ補完を呼び出すと、そのパッケージのトップレベルコードが編集ユーザーの権限で実行されます。この問題はバージョン9.2.0561で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月11日0:00 |
| 登録日 | 2026年6月16日13:35 |
| 最終更新日 | 2026年6月16日13:35 |
| CVSS3.0 : 重要 | |
| スコア | 7.8 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Vim |
| Vim 9.2.0561 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月16日] 掲載 |
2026年6月16日13:35 |
| 概要 | Vim is an open source, command line text editor. Prior to version 9.2.0561, the Python omni-completion script in python3complete.vim for Vim with the +python3 interpreter enabled (and the legacy pythoncomplete.vim for builds with the +python interpreter) executes the import and from statements found in the current buffer through Python's import machinery. Because the buffer's working directory is on sys.path, opening a hostile .py file with a sibling Python package and invoking omni-completion runs that package's top-level code as the editing user. This issue has been patched in version 9.2.0561. |
|---|---|
| 公表日 | 2026年6月12日4:16 |
| 登録日 | 2026年6月13日4:15 |
| 最終更新日 | 2026年6月15日22:32 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* | 9.2.0561 | ||||