製品・ソフトウェアに関する情報
Fedora Project等の複数ベンダの製品におけるパーミッションの不適切な保持に関する脆弱性
Title Fedora Project等の複数ベンダの製品におけるパーミッションの不適切な保持に関する脆弱性
Summary

Gitはリビジョン管理システムです。バージョン2.45.1、2.44.1、2.43.4、2.42.2、2.41.1、2.40.2、および2.39.4以前のバージョンでは、ローカルクローン時にソースリポジトリとターゲットリポジトリが同じディスク上に存在する場合、ファイルがターゲットリポジトリのオブジェクトデータベースにハードリンクされることがあります。ソースリポジトリが別のユーザーによって所有されている場合は、これらのハードリンクされたファイルが信頼されていないユーザーによって随時書き換えられる可能性があります。ローカルリポジトリをクローンするとき、Gitはソースリポジトリのファイルをターゲットリポジトリにコピーまたはハードリンクします。この方法により、通常のクローンよりも処理速度が大幅に向上し、ディスク容量や計算時間を節約できます。しかし、現在のユーザーとは異なるユーザーが所有する同一ディスク上のリポジトリをクローンした場合でも、このようなハードリンクが作成されます。これらのファイルは引き続き信頼できないユーザーが所有・管理しており、将来的にいつでも書き換えられるリスクがあります。この問題は、バージョン2.45.1、2.44.1、2.43.4、2.42.2、2.41.1、2.40.2、および2.39.4で修正されています。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 14, 2024, midnight
Registration Date Jan. 8, 2026, 12:41 p.m.
Last Update Jan. 8, 2026, 12:41 p.m.
CVSS3.0 : 低
Score 3.3
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Affected System
Fedora Project
Fedora 40
Git SCM
Git 2.39.4 未満
Git 2.40.0 以上 2.40.2 未満
Git 2.41.0
Git 2.42.0 以上 2.42.2 未満
Git 2.43.0 以上 2.43.4 未満
Git 2.44.0
Git 2.45.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年01月08日]
  掲載
Jan. 8, 2026, 12:41 p.m.

NVD Vulnerability Information
CVE-2024-32020
Summary

Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local repositories will cause Git to either copy or hardlink files of the source repository into the target repository. This significantly speeds up such local clones compared to doing a "proper" clone and saves both disk space and compute time. When cloning a repository located on the same disk that is owned by a different user than the current user we also end up creating such hardlinks. These files will continue to be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the future. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4.

Publication Date May 15, 2024, 4:15 a.m.
Registration Date May 15, 2024, 10 a.m.
Last Update Nov. 21, 2024, 6:14 p.m.
Related information, measures and tools
Common Vulnerabilities List