PT-2021-2388

CVE-2021-21300

·

تاريخ النشر

2021-03-09

·

تاريخ التحديث

2026-09-30

الوصف من

CVSS 2.0
9.0
عالية
المقاييسAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Git versions 2.14.2 through 2.30.0 Git versions 2.15 through 2.17.5 Git versions 2.18 through 2.18.4 Git versions 2.19 through 2.19.5 Git versions 2.20 through 2.20.4 Git versions 2.21 through 2.21.3 Git versions 2.22 through 2.22.4 Git versions 2.23 through 2.23.3 Git versions 2.24 through 2.24.3 Git versions 2.25 through 2.25.4 Git versions 2.26 through 2.26.2 Git versions 2.27 through 2.27.0 Git versions 2.28 through 2.28.0 Git versions 2.29 through 2.29.2
Description The issue is related to the Git component of the Microsoft Visual Studio development software and is associated with incorrect code generation management. A specially crafted repository containing symbolic links and files using a clean/smudge filter, such as Git LFS, may cause a just-checked-out script to be executed while cloning onto a case-insensitive file system like NTFS, HFS+, or APFS. This can allow a remote attacker to execute arbitrary code. The problem has been patched in versions published on Tuesday, March 9th, 2021. As a workaround, disabling symbolic link support in Git or not configuring clean/smudge filters globally can prevent the attack. It is best to avoid cloning repositories from untrusted sources.
Recommendations For Git versions 2.14.2 through 2.17.5, update to version 2.17.6 or later. For Git versions 2.18 through 2.18.4, update to version 2.18.5 or later. For Git versions 2.19 through 2.19.5, update to version 2.19.6 or later. For Git versions 2.20 through 2.20.4, update to version 2.20.5 or later. For Git versions 2.21 through 2.21.3, update to version 2.21.4 or later. For Git versions 2.22 through 2.22.4, update to version 2.22.5 or later. For Git versions 2.23 through 2.23.3, update to version 2.23.4 or later. For Git versions 2.24 through 2.24.3, update to version 2.24.4 or later. For Git versions 2.25 through 2.25.4, update to version 2.25.5 or later. For Git versions 2.26 through 2.26.2, update to version 2.26.3 or later. For Git versions 2.27 through 2.27.0, update to version 2.27.1 or later. For Git versions 2.28 through 2.28.0, update to version 2.28.1 or later. For Git versions 2.29 through 2.29.2, update to version 2.29.3 or later. As a temporary workaround, consider disabling symbolic link support in Git via git config --global core.symlinks false. Restrict access to clean/smudge filters such as Git LFS to minimize the risk of exploitation. Avoid using the git clone command with untrusted repositories until the issue is resolved.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-8PRW-H3CQ-MGHM
ALT-PU-2021-1453
ALT-PU-2023-4135
CLEANSTART-2026-PC25111
DLA-3145-1
MGASA-2021-0137
OESA-2021-1105
OPENSUSE-SU-2021:0405-1
OPENSUSE-SU-2021_0405-1
OPENSUSE-SU-2021:2555-1
OPENSUSE-SU-2021_2555-1
OPENSUSE-SU-2024:10786-1
OPENSUSE-SU-2024:10787-1
SUSE-SU-2021:0756-1
SUSE-SU-2021_0756-1
SUSE-SU-2021:0757-1
SUSE-SU-2021_0757-1
SUSE-SU-2021:2555-1
SUSE-SU-2021_2555-1
USN-4761-1
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾