| タイトル | Fedora Project等の複数ベンダの製品におけるパーミッションの不適切な保持に関する脆弱性 |
|---|---|
| 概要 | 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で修正されています。 |
| 想定される影響 | 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2024年5月14日0:00 |
| 登録日 | 2026年1月8日12:41 |
| 最終更新日 | 2026年1月8日12:41 |
| CVSS3.0 : 低 | |
| スコア | 3.3 |
|---|---|
| ベクター | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| 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 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年01月08日] 掲載 |
2026年1月8日12:41 |
| 概要 | 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. |
|---|---|
| 公表日 | 2024年5月15日4:15 |
| 登録日 | 2024年5月15日10:00 |
| 最終更新日 | 2024年11月21日18:14 |