go-git projectのgo-gitにおける複数の脆弱性
| Title |
go-git projectのgo-gitにおける複数の脆弱性
|
| Summary |
go-gitは純粋なGoで書かれた拡張可能なgit実装ライブラリです。5.19.0および6.0.0-alpha.3より前のバージョンでは、go-gitは上流のGitとは異なる方法で不正なGitオブジェクトを解析する可能性があります。コミットまたはタグオブジェクトに曖昧または不正なヘッダーが含まれている場合、go-gitのデコードされた表現はGit自体が同じオブジェクトを解釈または拒否する方法と異なって値を露出することがあります。さらに、go-gitのコミット署名および検証ロジックは、元の生オブジェクトのバイト列ではなく、go-gitの解析された表現から再構築されたコミットデータに基づいて動作します。その結果、go-gitはリポジトリに保存されているオブジェクトとバイト単位で等価でないコミットペイロードに署名または検証を行う可能性があります。これにより、表示されるメタデータや実際のメタデータが署名対象のオブジェクトと異なるコミットの署名が有効であるように見えることがあります。この脆弱性は5.19.0および6.0.0-alpha.3で修正されています。
|
| Possible impacts |
・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 27, 2026, midnight |
| Registration Date |
June 8, 2026, 11:46 a.m. |
| Last Update |
June 8, 2026, 11:46 a.m. |
|
CVSS3.0 : 重要
|
| Score |
7.5
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected System
| go-git project |
|
go-git 5.19.0 未満
|
|
go-git 6.0.0
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月08日] 掲載 |
June 8, 2026, 11:46 a.m. |
NVD Vulnerability Information
CVE-2026-45022
| Summary |
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.0 and 6.0.0-alpha.3, go-git may parse malformed Git objects in a way that differs from upstream Git. When commit or tag objects contain ambiguous or malformed headers, go-git’s decoded representation may expose values differently from how Git itself would interpret or reject the same object. Additionally, go-git’s commit signing and verification logic operates over commit data reconstructed from go-git’s parsed representation rather than the original raw object bytes. As a result, go-git may sign or verify a commit payload that is not byte-for-byte equivalent to the object stored in the repository. This can cause a signature to appear valid for a commit whose displayed or effective metadata differs from the object that was intended to be signed. This vulnerability is fixed in 5.19.0 and 6.0.0-alpha.3.
|
| Publication Date |
May 28, 2026, 12:16 a.m. |
| Registration Date |
May 28, 2026, 4:14 a.m. |
| Last Update |
May 30, 2026, 12:42 a.m. |
Related information, measures and tools
Common Vulnerabilities List