Every CVE Search/ Get API key

CVE-2021-21300

malicious repositories can execute remote code while cloning

8.0 HighPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Exploit likelihood

88.5%Up 79.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 8.0

malicious repositories can execute remote code while cloning

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.

Record
CVE-2021-21300
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Weakness
CWE-59
Updated
2026-11-02
EUVDEUVD-2021-8658 8.0

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.

Record
EUVD-2021-8658
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Updated
2026-11-03
NVD 8.0

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.

Record
CVE-2021-21300
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
5.1 MediumAV:N/AC:H/Au:N/C:P/I:P/A:P
Weakness
CWE-59
Updated
2026-11-02
OSVALPINE-CVE-2021-21300 7.5

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.

Record
ALPINE-CVE-2021-21300
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2021-21300 7.5

CVE-2021-21300 does not affect BellSoft software

Record
BELL-CVE-2021-21300
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2021-21300
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 12 moreShow less
OSVDEBIAN-CVE-2021-21300 7.5

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.

Record
DEBIAN-CVE-2021-21300
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2021-1105 7.5

git security update

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.

Security Fix(es):

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.(CVE-2021-21300)

Record
OESA-2021-1105
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-21300 7.5

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.

Record
UBUNTU-CVE-2021-21300
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1
8.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Updated
2026-11-02
OSVMGASA-2021-0137 No score

Updated git packages fix a security vulnerability

On case-insensitive file systems with support for symbolic links, if Git is configured globally to apply delay-capable clean/smudge filters (such as Git LFS), Git could be fooled into running remote code during a clone (CVE-2021-21300).

Record
MGASA-2021-0137
Updated
2026-11-02
OSVopenSUSE-SU-2021:0405-1 No score

Security update for git

This update for git fixes the following issues:

  • On case-insensitive filesystems, with support for symbolic links, if Git is configured globally to apply delay-capable clean/smudge filters (such as Git LFS), Git could be fooled into running remote code during a clone. (bsc#1183026, CVE-2021-21300)

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2021:0405-1
Updated
2026-11-02
OSVopenSUSE-SU-2021:2555-1 No score

Security update for git

This update for git fixes the following issues:

Update from version 2.26.2 to version 2.31.1 (jsc#SLE-18152)

Security fixes:

  • CVE-2021-21300: On case-insensitive file systems with support for symbolic links, if Git is configured globally to apply delay-capable clean/smudge filters (such as Git LFS), Git could run remote code during a clone. (bsc#1183026)

Non security changes:

  • Add sysusers file to create git-daemon user.
  • Remove perl-base and openssh-server dependency on git-coreand provide a perl-Git package. (jsc#SLE-17838)
  • fsmonitor bug fixes
  • Fix git bisect to take an annotated tag as a good/bad endpoint
  • Fix a corner case in git mv on case insensitive systems
  • Require only openssh-clients where possible (like Tumbleweed or SUSE Linux Enterprise >= 15 SP3). (bsc#1183580)
  • Drop rsync requirement, not necessary anymore.
  • Use of pack-redundant command is discouraged and will trigger a warning. The replacement is repack -d.
  • The --format=%(trailers) mechanism gets enhanced to make it easier to design output for machine consumption.
  • No longer give message to choose between rebase or merge upon pull if the history fast-forwards.
  • The configuration variable core.abbrev can be set to no to force no abbreviation regardless of the hash algorithm
  • git rev-parse can be explicitly told to give output as absolute or relative path with the --path-format=(absolute|relative) option.
  • Bash completion update to make it easier for end-users to add completion for their custom git subcommands.
  • git maintenance learned to drive scheduled maintenance on platforms whose native scheduling methods are not 'cron'.
  • After expiring a reflog and making a single commit, the reflog for the branch would record a single entry that knows both @{0} and @{1}, but we failed to answer 'what commit were we on?', i.e. @{1}
  • git bundle learns --stdin option to read its refs from the standard input.
    Also, it now does not lose refs when they point at the same object.
  • git log learned a new --diff-merges=<how> option.
  • git ls-files can and does show multiple entries when the index is unmerged, which is a source for confusion unless -s/-u option is in use. A new option --deduplicate has been introduced.
  • git worktree list now annotates worktrees as prunable, shows locked and prunable attributes in --porcelain mode, and gained a --verbose option.
  • git clone tries to locally check out the branch pointed at by HEAD of the remote repository after it is done, but the protocol did not convey the information necessary to do so when copying an empty repository.
    The protocol v2 learned how to do so.
  • There are other ways than .. for a single token to denote a commit range', namely <rev>^! and<rev>^-<n>, but git range-diff` did not understand them.
  • The git range-diff command learned --(left|right)-only option to show only one side of the compared range.
  • git mergetool feeds three versions (base, local and remote) of a conflicted path unmodified. The command learned to optionally prepare these files with unconflicted parts already resolved.
  • The .mailmap is documented to be read only from the root level of a working tree, but a stray file in a bare repository also was read by accident, which has been corrected.
  • git maintenance tool learned a new pack-refs maintenance task.
  • Improved error message given when a configuration variable that is expected to have a boolean value.
  • Signed commits and tags now allow verification of objects, whose two object names (one in SHA-1, the other in SHA-256) are both signed.
  • git rev-list command learned --disk-usage option.
  • git diff, git log --{skip,rotate}-to=<path> allows the user to discard diff output for early paths or move them to the end of the output.
  • git difftool learned --skip-to=<path> option to restart an interrupted session from an arbitrary…
Record
openSUSE-SU-2021:2555-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10786-1 No score

git-2.33.0-1.3 on GA media

These are all security issues fixed in the git-2.33.0-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10786-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10787-1 No score

git-annex-8.20210903-1.2 on GA media

These are all security issues fixed in the git-annex-8.20210903-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10787-1
Updated
2026-11-02
OSVSUSE-SU-2021:0756-1 No score

Security update for git

This update for git fixes the following issues:

  • On case-insensitive filesystems, with support for symbolic links, if Git is configured globally to apply delay-capable clean/smudge filters (such as Git LFS), Git could be fooled into running remote code during a clone. (bsc#1183026, CVE-2021-21300)
Record
SUSE-SU-2021:0756-1
Updated
2026-11-02
OSVSUSE-SU-2021:0757-1 No score

Security update for git

This update for git fixes the following issues:

  • On case-insensitive filesystems, with support for symbolic links, if Git is configured globally to apply delay-capable clean/smudge filters (such as Git LFS), Git could be fooled into running remote code during a clone. (bsc#1183026, CVE-2021-21300)
Record
SUSE-SU-2021:0757-1
Updated
2026-11-02
OSVSUSE-SU-2021:2555-1 No score

Security update for git

This update for git fixes the following issues:

Update from version 2.26.2 to version 2.31.1 (jsc#SLE-18152)

Security fixes:

  • CVE-2021-21300: On case-insensitive file systems with support for symbolic links, if Git is configured globally to apply delay-capable clean/smudge filters (such as Git LFS), Git could run remote code during a clone. (bsc#1183026)

Non security changes:

  • Add sysusers file to create git-daemon user.
  • Remove perl-base and openssh-server dependency on git-coreand provide a perl-Git package. (jsc#SLE-17838)
  • fsmonitor bug fixes
  • Fix git bisect to take an annotated tag as a good/bad endpoint
  • Fix a corner case in git mv on case insensitive systems
  • Require only openssh-clients where possible (like Tumbleweed or SUSE Linux Enterprise >= 15 SP3). (bsc#1183580)
  • Drop rsync requirement, not necessary anymore.
  • Use of pack-redundant command is discouraged and will trigger a warning. The replacement is repack -d.
  • The --format=%(trailers) mechanism gets enhanced to make it easier to design output for machine consumption.
  • No longer give message to choose between rebase or merge upon pull if the history fast-forwards.
  • The configuration variable core.abbrev can be set to no to force no abbreviation regardless of the hash algorithm
  • git rev-parse can be explicitly told to give output as absolute or relative path with the --path-format=(absolute|relative) option.
  • Bash completion update to make it easier for end-users to add completion for their custom git subcommands.
  • git maintenance learned to drive scheduled maintenance on platforms whose native scheduling methods are not 'cron'.
  • After expiring a reflog and making a single commit, the reflog for the branch would record a single entry that knows both @{0} and @{1}, but we failed to answer 'what commit were we on?', i.e. @{1}
  • git bundle learns --stdin option to read its refs from the standard input.
    Also, it now does not lose refs when they point at the same object.
  • git log learned a new --diff-merges=<how> option.
  • git ls-files can and does show multiple entries when the index is unmerged, which is a source for confusion unless -s/-u option is in use. A new option --deduplicate has been introduced.
  • git worktree list now annotates worktrees as prunable, shows locked and prunable attributes in --porcelain mode, and gained a --verbose option.
  • git clone tries to locally check out the branch pointed at by HEAD of the remote repository after it is done, but the protocol did not convey the information necessary to do so when copying an empty repository.
    The protocol v2 learned how to do so.
  • There are other ways than .. for a single token to denote a commit range', namely <rev>^! and<rev>^-<n>, but git range-diff` did not understand them.
  • The git range-diff command learned --(left|right)-only option to show only one side of the compared range.
  • git mergetool feeds three versions (base, local and remote) of a conflicted path unmodified. The command learned to optionally prepare these files with unconflicted parts already resolved.
  • The .mailmap is documented to be read only from the root level of a working tree, but a stray file in a bare repository also was read by accident, which has been corrected.
  • git maintenance tool learned a new pack-refs maintenance task.
  • Improved error message given when a configuration variable that is expected to have a boolean value.
  • Signed commits and tags now allow verification of objects, whose two object names (one in SHA-1, the other in SHA-256) are both signed.
  • git rev-list command learned --disk-usage option.
  • git diff, git log --{skip,rotate}-to=<path> allows the user to discard diff output for early paths or move them to the end of the output.
  • git difftool learned --skip-to=<path> option to restart an interrupted session from an arbitrary…
Record
SUSE-SU-2021:2555-1
Updated
2026-11-02
OSVUSN-4761-1 No score

git vulnerability

Matheus Tavares discovered that Git incorrectly handled delay-capable clean/smudge filters when being used on case-insensitive filesystems. A remote attacker could possibly use this issue to execute arbitrary code.

Record
USN-4761-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
git
Alpine:v3.10
2.17.0 up to 2.22.5-r0
2.22.5-r0
git
Alpine:v3.11
2.17.0 up to 2.24.4-r0
2.24.4-r0
git
Alpine:v3.12
2.17.0 up to 2.26.3-r0
2.26.3-r0
git
Alpine:v3.13
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.14
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.15
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.16
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.17
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.18
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.19
2.17.0 up to 2.30.2-r0
2.30.2-r0
Show 54 moreShow less
Affected packages
PackageAffectedFixed
git
Alpine:v3.20
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.21
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.22
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.23
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Alpine:v3.24
2.17.0 up to 2.30.2-r0
2.30.2-r0
git
Debian:12
before 1:2.30.2-1
1:2.30.2-1
git
Debian:13
before 1:2.30.2-1
1:2.30.2-1
git
Debian:14
before 1:2.30.2-1
1:2.30.2-1
git
Debian:10
From an advisory covering 2 CVEs
before 1:2.20.1-2+deb10u4, plus listed versions
1:2.20.1-21:2.20.1-2+deb10u11:2.20.1-2+deb10u21:2.20.1-2+deb10u3
1:2.20.1-2+deb10u4
git
Mageia:7
before 2.21.4-1.mga7
2.21.4-1.mga7
git
Mageia:8
before 2.30.2-1.mga8
2.30.2-1.mga8
git
openEuler:20.03-LTS
before 2.27.0-3.oe1
2.27.0-3.oe1
git
openEuler:20.03-LTS-SP1
before 2.27.0-3.oe1
2.27.0-3.oe1
git
SUSE:HPE Helion OpenStack 8
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:OpenStack Cloud 7
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:OpenStack Cloud 8
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:OpenStack Cloud 9
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:OpenStack Cloud Crowbar 8
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:OpenStack Cloud Crowbar 9
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server 12 SP2-BCL
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server 12 SP3-BCL
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server 12 SP5
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.26.2-27.43.1
2.26.2-27.43.1
git
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise Module for Development Tools 15 SP2
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise High Performance Computing 15-LTSS
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise Server 15-LTSS
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise Server 15 SP1-BCL
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise Server 15 SP1-LTSS
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise Server for SAP Applications 15
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Manager Proxy 4.0
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Manager Retail Branch Server 4.0
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Manager Server 4.0
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Enterprise Storage 6
before 2.26.2-3.31.1
2.26.2-3.31.1
git
SUSE:Linux Enterprise Module for Basesystem 15 SP3
before 2.31.1-10.3.1
2.31.1-10.3.1
git
SUSE:Linux Enterprise Module for Development Tools 15 SP3
before 2.31.1-10.3.1
2.31.1-10.3.1
git
Ubuntu:16.04:LTS
before 1:2.7.4-0ubuntu1.10, plus listed versions
1:2.5.0-11:2.6.2-11:2.6.3-11:2.6.4-11:2.7.0~rc3-1
Show 12 moreShow less
1:2.7.0-11:2.7.3-0ubuntu11:2.7.4-0ubuntu11:2.7.4-0ubuntu1.11:2.7.4-0ubuntu1.21:2.7.4-0ubuntu1.31:2.7.4-0ubuntu1.41:2.7.4-0ubuntu1.51:2.7.4-0ubuntu1.61:2.7.4-0ubuntu1.71:2.7.4-0ubuntu1.81:2.7.4-0ubuntu1.9
1:2.7.4-0ubuntu1.10
git
Ubuntu:18.04:LTS
before 1:2.17.1-1ubuntu0.8, plus listed versions
1:2.14.1-1ubuntu41:2.15.1-1ubuntu21:2.17.0-1ubuntu11:2.17.1-1ubuntu0.11:2.17.1-1ubuntu0.3
Show 4 moreShow less
1:2.17.1-1ubuntu0.41:2.17.1-1ubuntu0.51:2.17.1-1ubuntu0.61:2.17.1-1ubuntu0.7
1:2.17.1-1ubuntu0.8
git
Ubuntu:20.04:LTS
before 1:2.25.1-1ubuntu3.1, plus listed versions
1:2.20.1-2ubuntu11:2.24.0-1ubuntu11:2.24.0-1ubuntu21:2.25.0-1ubuntu11:2.25.1-1ubuntu11:2.25.1-1ubuntu21:2.25.1-1ubuntu3
1:2.25.1-1ubuntu3.1
git
openSUSE:Leap 15.2
before 2.26.2-lp152.2.6.1
2.26.2-lp152.2.6.1
git
openSUSE:Leap 15.3
before 2.31.1-10.3.1
2.31.1-10.3.1
git
openSUSE:Tumbleweed
From an advisory covering 21 CVEs
before 2.33.0-1.3
2.33.0-1.3
git-annex
openSUSE:Tumbleweed
before 8.20210903-1.2
8.20210903-1.2

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubAlkenePan/CVE-2021-213002021-03-10
PoC in GitHubFaisal78123/CVE-2021-213002021-03-10
PoC in GitHuberranfenech/CVE-2021-213002021-03-10
PoC in GitHub1uanWu/CVE-2021-213002021-03-11
PoC in GitHubKirill89/CVE-2021-213002021-03-11
PoC in GitHubMaskhe/CVE-2021-213002021-03-11
PoC in GitHubETOCheney/cve-2021-213002021-03-15
PoC in GitHubfengzhouc/CVE-2021-213002021-04-06
PoC in GitHubdanshuizhangyu/CVE-2021-213002021-04-07
MetasploitGit LFS Clone Command Exec2021-04-26
Show 6 moreShow less
Public exploits
SourceLinkDate
PoC in GitHubRoboterh/CVE-2021-213002022-08-13
PoC in GitHubhenry861010/Network_Security_NYCU2023-05-04
PoC in GitHubSaboor-Hakimi-23/CVE-2021-213002023-10-28
PoC in GitHubSizvy/CVE-2021-213002025-06-04
PoC in GitHubthe-chivalrousZ/cve-2021-213002025-10-28
PoC in GitHubfedericonbaez/cortex9-git-case-insensitive-symlink-checkout-model2026-11-06

History

History
RecordedChangedSources
exploitsPoC in GitHub
affected, exploits, facts
aliases, productsEUVD
first indexedCVE List, Metasploit, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-21300 is a high vulnerability (CVSS 8.0) in Git, published March 9, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 88.5%, the 99th percentile. Fixed in git 2.22.5-r0.

References

Show 48 moreShow less
This page doesn't list everything

Left out here: the rest of 2 source descriptions. The JSON record has them.

MoveEnter Open