| タイトル | Vimにおける複数の脆弱性 |
|---|---|
| 概要 | Vimはオープンソースのコマンドラインテキストエディタです。バージョン9.2.0496より前のバージョンでは、+rubyサポートが有効になっているVimビルドのcucumberファイルタイププラグイン(runtime/ftplugin/cucumber.vim)内のs:stepmatch()にコードインジェクションの脆弱性が存在します。リポジトリ内のfeatures/*/またはstories/*/ディレクトリ下の.rbファイルから読み取られるステップ定義パターンが、十分なエスケープ処理をせずにRubyのKernel.eval引数に埋め込まれているため、攻撃者が制御するリポジトリ内の細工されたパターンによって、ユーザーがステップジャンプマッピング([d, ]d)を呼び出した際に任意のRubyコード(およびそれを通じて任意のシェルコマンド)を実行されてしまいます。この問題はバージョン9.2.0496で修正されています。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアの一部が停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年6月11日0:00 |
| 登録日 | 2026年6月16日13:37 |
| 最終更新日 | 2026年6月16日13:37 |
| CVSS3.0 : 警告 | |
| スコア | 5.3 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| Vim |
| Vim 9.2.0496 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月16日] 掲載 |
2026年6月16日13:37 |
| 概要 | Vim is an open source, command line text editor. Prior to version 9.2.0496, a code injection vulnerability exists in s:stepmatch() in the cucumber filetype plugin (runtime/ftplugin/cucumber.vim) on Vim builds with +ruby support. Step-definition patterns read from .rb files under the repository's features/*/ or stories/*/ directories are embedded into a Ruby Kernel.eval argument without sufficient escaping, allowing a crafted pattern in an attacker-controlled repository to execute arbitrary Ruby (and through it arbitrary shell commands) when the user invokes a step-jump mapping ([d, ]d). This issue has been patched in version 9.2.0496. |
|---|---|
| 公表日 | 2026年6月12日4:16 |
| 登録日 | 2026年6月13日4:14 |
| 最終更新日 | 2026年6月15日22:32 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:* | 9.2.0496 | ||||