製品・ソフトウェアに関する情報
Git におけるリンク解釈に関する脆弱性
Title Git におけるリンク解釈に関する脆弱性
Summary

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

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

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

Publication Date Feb. 12, 2021, midnight
Registration Date Nov. 25, 2021, 4:09 p.m.
Last Update Nov. 25, 2021, 4:09 p.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS2.0 : 警告
Score 5.1
Vector AV:N/AC:H/Au:N/C:P/I:P/A:P
Affected System
アップル
Xcode 
Fedora Project
Fedora 
Git SCM
Git 2.14.2
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2021年11月25日]
  掲載
Nov. 25, 2021, 4:09 p.m.

NVD Vulnerability Information
CVE-2021-21300
Summary

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.

Publication Date March 10, 2021, 5:15 a.m.
Registration Date March 10, 2021, 10:02 a.m.
Last Update Nov. 21, 2024, 2:47 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
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:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* 12.5
execution environment
1 cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List