CVE-2021-21300
概要

Git is an open-source distributed revision control system. In affected versions of Git a specially crafted repository that contains symbolic links as well as files using a clean/smudge filter such as Git LFS, may cause just-checked out script to be executed while cloning onto a case-insensitive file system such as NTFS, HFS+ or APFS (i.e. the default file systems on Windows and macOS). Note that clean/smudge filters have to be configured for that. Git for Windows configures Git LFS by default, and is therefore vulnerable. The problem has been patched in the versions published on Tuesday, March 9th, 2021. As a workaound, if symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. Likewise, if no clean/smudge filters such as Git LFS are configured globally (i.e. _before_ cloning), the attack is foiled. As always, it is best to avoid cloning repositories from untrusted sources. The earliest impacted version is 2.14.2. The fix versions are: 2.30.1, 2.29.3, 2.28.1, 2.27.1, 2.26.3, 2.25.5, 2.24.4, 2.23.4, 2.22.5, 2.21.4, 2.20.5, 2.19.6, 2.18.5, 2.17.62.17.6.

公表日 2021年3月10日5:15
登録日 2021年3月10日10:02
最終更新日 2024年11月21日14:47
CVSS3.1 : HIGH
スコア 7.5
ベクター CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : MEDIUM
スコア 5.1
ベクター AV:N/AC:H/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
全ての特権を取得 いいえ
ユーザー権限を取得 いいえ
その他の権限を取得 いいえ
ユーザー操作が必要 はい
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.14.2
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.25.0 2.25.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.24.0 2.24.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.23.0 2.23.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.22.0 2.22.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.21.0 2.21.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.20.0 2.20.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.19.0 2.19.6
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.18.0 2.18.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.17.0 2.17.6
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.26.0 2.26.3
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.29.0 2.29.3
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 2.30.0 2.30.2
cpe:2.3:a:git-scm:git:2.27.0:*:*:*:*:*:*:*
cpe:2.3:a:git-scm:git:2.28.0:*:*:*:*:*:*:*
構成2 以上 以下 より上 未満
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
構成3 以上 以下 より上 未満
cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* 12.5
実行環境
1 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
構成4 以上 以下 より上 未満
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Git におけるリンク解釈に関する脆弱性
タイトル Git におけるリンク解釈に関する脆弱性
概要

Git には、リンク解釈に関する脆弱性が存在します。

想定される影響 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
対策

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

公表日 2021年2月12日0:00
登録日 2021年11月25日16:09
最終更新日 2021年11月25日16:09
影響を受けるシステム
アップル
Xcode 
Fedora Project
Fedora 
Git SCM
Git 2.14.2
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2021年11月25日]
  掲載
2021年11月25日16:09