| タイトル | go-git projectのgo-gitにおけるエンコードおよびエスケープに関する脆弱性 |
|---|---|
| 概要 | go-gitは純粋なGoで書かれた拡張可能なgit実装ライブラリです。5.19.1および6.0.0-alpha.4より前のバージョンでは、go-gitのSSHトランスポートはリモートのexecコマンドをリポジトリパスを単一引用符で囲む形で構築していましたが、パス内に埋め込まれた単一引用符をエスケープしていませんでした。そのため、単一引用符を含むリポジトリパスはexecコマンド内の引用符で囲まれた領域から抜け出し、追加のシェルトークンとして解釈される可能性がありました。この脆弱性は5.19.1および6.0.0-alpha.4で修正されています。 |
| 想定される影響 | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月27日0:00 |
| 登録日 | 2026年6月8日11:46 |
| 最終更新日 | 2026年6月8日11:46 |
| CVSS3.0 : 緊急 | |
| スコア | 9.6 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| go-git project |
| go-git 5.19.1 未満 |
| go-git 6.0.0 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月08日] 掲載 |
2026年6月8日11:46 |
| 概要 | go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, go-git's SSH transport constructs the remote exec command by wrapping the repository path in single quotes without escaping single quotes embedded inside the path. A repository path containing a single quote can therefore break out of the quoted region in the exec command and be appended as additional shell tokens. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4. |
|---|---|
| 公表日 | 2026年5月28日0:16 |
| 登録日 | 2026年5月28日4:14 |
| 最終更新日 | 2026年5月30日0:42 |