| 概要 | Arbitrary File Overwrite in Eclipse JGit <= 6.6.0 In Eclipse JGit, all versions <= 6.6.0.202305301015-r, a symbolic link present in a specially crafted git repository can be used to write a file to locations outside the working tree when this repository is cloned with JGit to a case-insensitive filesystem, or when a checkout from a clone of such a repository is performed on a case-insensitive filesystem. This can happen on checkout (DirCacheCheckout), merge (ResolveMerger via its WorkingTreeUpdater), pull (PullCommand using merge), and when applying a patch (PatchApplier). This can be exploited for remote code execution (RCE), for instance if the file written outside the working tree is a git filter that gets executed on a subsequent git command. The issue occurs only on case-insensitive filesystems, like the default filesystems on Windows and macOS. The user performing the clone or checkout must have the rights to create symbolic links for the problem to occur, and symbolic links must be enabled in the git configuration. Setting git configuration option core.symlinks = false before checking out avoids the problem. The issue was fixed in Eclipse JGit version 6.6.1.202309021850-r and 6.7.0.202309050840-r, available via Maven Central https://repo1.maven.org/maven2/org/eclipse/jgit/ and repo.eclipse.org https://repo.eclipse.org/content/repositories/jgit-releases/ . A backport is available in 5.13.3 starting from 5.13.3.202401111512-r. The JGit maintainers would like to thank RyotaK for finding and reporting this issue. |
|---|---|
| 公表日 | 2023年9月12日19:15 |
| 登録日 | 2023年9月13日10:00 |
| 最終更新日 | 2024年11月21日17:35 |
| CVSS3.1 : HIGH | |
| スコア | 8.8 |
|---|---|
| ベクター | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | 高 |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 高 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:* | 5.13.3.202401111512-r | ||||
| cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:* | 6.6.0 | 6.6.0.202305301015 | |||
| cpe:2.3:a:eclipse:jgit:*:*:*:*:*:*:*:* | 6.7.0 | 6.7.0.202309050840 | |||
| 実行環境 | |||||
| 1 | cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* | ||||
| 2 | cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* | ||||
| タイトル | Eclipse Foundation の JGit における大文字と小文字の区別の不適切な処理に関する脆弱性 |
|---|---|
| 概要 | Eclipse Foundation の JGit には、大文字と小文字の区別の不適切な処理に関する脆弱性、リンク解釈に関する脆弱性が存在します。 |
| 想定される影響 | 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 |
| 対策 | ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| 公表日 | 2023年9月12日0:00 |
| 登録日 | 2023年12月18日12:10 |
| 最終更新日 | 2023年12月18日12:10 |
| Eclipse Foundation |
| JGit 6.6.0.202305301015 未満 |
| JGit 6.7.0 以上 6.7.0.202309050840 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2023年12月18日] 掲載 |
2023年12月18日12:10 |