CVE-2021-21300
Scores
EPSS
Percentile: 64.5%
CVSS
CVSS Score: 7.5/10
All CVSS Scores
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Vector Breakdown
CVSS (Common Vulnerability Scoring System) vector provides detailed metrics about vulnerability characteristics
CVSS
Attack Vector
Network (N)
Describes how the vulnerability is exploited
Attack Complexity
High (H)
Describes the conditions beyond the attacker's control
Privileges Required
None (N)
Describes the level of privileges an attacker must possess
User Interaction
Required (R)
Captures the requirement for a human user participation
Scope
Unchanged (U)
Determines if a successful attack impacts components beyond the vulnerable component
Confidentiality Impact
High (H)
Measures the impact to the confidentiality of information
Integrity Impact
High (H)
Measures the impact to integrity of a successfully exploited vulnerability
Availability Impact
High (H)
Measures the impact to the availability of the impacted component
Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P
Vector Breakdown
CVSS (Common Vulnerability Scoring System) vector provides detailed metrics about vulnerability characteristics
CVSS
Attack Vector
Network (N)
Describes how the vulnerability is exploited
Attack Complexity
High (H)
Describes the conditions beyond the attacker's control
Authentication
None (N)
Describes the level of privileges an attacker must possess
Confidentiality Impact
Partial
Measures the impact to the confidentiality of information
Integrity Impact
Partial
Measures the impact to integrity of a successfully exploited vulnerability
Availability Impact
Partial
Measures the impact to the availability of the impacted component
Description
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.
Scaner-VS 7 — a modern vulnerability management solution
Sources
CWEs
Related Vulnerabilities
Exploits
Recommendations
Source: nvd
All Git users should upgrade to the latest version:
# emerge –sync
# emerge –ask –oneshot –verbose “>=dev-vcs/git-2.26.3”
Vulnerable Software (29)
Type: Configuration
Product: git
Operating System: astra 1.7.1.8
{ "unaffected": true}
Source: astra
Type: Configuration
Product: git
Operating System: astra 4.7.1.8
{ "unaffected": true}
Source: astra
Type: Configuration
Product: git
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git
Operating System: debian
{ "fixed": "1:2.30.2-1"}
Source: debian
Type: Configuration
Product: git
Operating System: debian stretch 9
{ "unfixed": true}
Source: debian
Type: Configuration
Product: git
Operating System: ubuntu bionic 18.04
{ "fixed": "1:2.17.1-1ubuntu0.8"}
Source: ubuntu
Type: Configuration
Product: git
Operating System: ubuntu focal 20.04
{ "fixed": "1:2.25.1-1ubuntu3.1"}
Source: ubuntu
Type: Configuration
Product: git
Operating System: ubuntu groovy 20.10
{ "fixed": "1:2.27.0-1ubuntu1.1"}
Source: ubuntu
Type: Configuration
Product: git
Operating System: ubuntu trusty 14.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: git
Operating System: ubuntu xenial 16.04
{ "fixed": "1:2.7.4-0ubuntu1.10"}
Source: ubuntu
Type: Configuration
Product: git-arch
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-contrib
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-core
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-cvs
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-diff-highlight
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-doc
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-email
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-full
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-gui
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat
Type: Configuration
Product: git-server
Operating System: altlinux
{ "fixed": "0:2.29.3-alt1"}
Source: redhat