CVE-2021-21300
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.
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
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 High
CVSS: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 High
CVSS: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 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 5.1 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.1
- 8.0 High
CVSS: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
sysusersfile to creategit-daemonuser. - Remove
perl-baseandopenssh-serverdependency ongit-coreand provide aperl-Gitpackage. (jsc#SLE-17838) fsmonitorbug fixes- Fix
git bisectto take an annotated tag as a good/bad endpoint - Fix a corner case in
git mvon case insensitive systems - Require only
openssh-clientswhere possible (like Tumbleweed or SUSE Linux Enterprise >= 15 SP3). (bsc#1183580) - Drop
rsyncrequirement, not necessary anymore. - Use of
pack-redundantcommand is discouraged and will trigger a warning. The replacement isrepack -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.abbrevcan be set tonoto force no abbreviation regardless of the hash algorithm git rev-parsecan 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
gitsubcommands. git maintenancelearned 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 bundlelearns--stdinoption to read its refs from the standard input.
Also, it now does not lose refs when they point at the same object.git loglearned a new--diff-merges=<how>option.git ls-filescan and does show multiple entries when the index is unmerged, which is a source for confusion unless-s/-uoption is in use. A new option--deduplicatehas been introduced.git worktree listnow annotates worktrees as prunable, shows locked and prunable attributes in--porcelain mode, and gained a--verboseoption.git clonetries 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 acommit range', namely<rev>^!and<rev>^-<n>, butgit range-diff` did not understand them. - The
git range-diffcommand learned--(left|right)-onlyoption to show only one side of the compared range. git mergetoolfeeds 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
.mailmapis 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 maintenancetool learned a newpack-refsmaintenance 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-listcommand learned--disk-usageoption.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 difftoollearned--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
sysusersfile to creategit-daemonuser. - Remove
perl-baseandopenssh-serverdependency ongit-coreand provide aperl-Gitpackage. (jsc#SLE-17838) fsmonitorbug fixes- Fix
git bisectto take an annotated tag as a good/bad endpoint - Fix a corner case in
git mvon case insensitive systems - Require only
openssh-clientswhere possible (like Tumbleweed or SUSE Linux Enterprise >= 15 SP3). (bsc#1183580) - Drop
rsyncrequirement, not necessary anymore. - Use of
pack-redundantcommand is discouraged and will trigger a warning. The replacement isrepack -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.abbrevcan be set tonoto force no abbreviation regardless of the hash algorithm git rev-parsecan 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
gitsubcommands. git maintenancelearned 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 bundlelearns--stdinoption to read its refs from the standard input.
Also, it now does not lose refs when they point at the same object.git loglearned a new--diff-merges=<how>option.git ls-filescan and does show multiple entries when the index is unmerged, which is a source for confusion unless-s/-uoption is in use. A new option--deduplicatehas been introduced.git worktree listnow annotates worktrees as prunable, shows locked and prunable attributes in--porcelain mode, and gained a--verboseoption.git clonetries 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 acommit range', namely<rev>^!and<rev>^-<n>, butgit range-diff` did not understand them. - The
git range-diffcommand learned--(left|right)-onlyoption to show only one side of the compared range. git mergetoolfeeds 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
.mailmapis 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 maintenancetool learned a newpack-refsmaintenance 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-listcommand learned--disk-usageoption.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 difftoollearned--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
| Package | Affected | Fixed |
|---|---|---|
gitAlpine:v3.10 |
2.17.0 up to 2.22.5-r0 | 2.22.5-r0 |
gitAlpine:v3.11 |
2.17.0 up to 2.24.4-r0 | 2.24.4-r0 |
gitAlpine:v3.12 |
2.17.0 up to 2.26.3-r0 | 2.26.3-r0 |
gitAlpine:v3.13 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.14 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.15 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.16 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.17 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.18 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.19 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
Show 54 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gitAlpine:v3.20 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.21 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.22 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.23 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitAlpine:v3.24 |
2.17.0 up to 2.30.2-r0 | 2.30.2-r0 |
gitDebian:12 |
before 1:2.30.2-1 | 1:2.30.2-1 |
gitDebian:13 |
before 1:2.30.2-1 | 1:2.30.2-1 |
gitDebian:14 |
before 1:2.30.2-1 | 1:2.30.2-1 |
gitDebian: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 |
gitMageia:7 |
before 2.21.4-1.mga7 | 2.21.4-1.mga7 |
gitMageia:8 |
before 2.30.2-1.mga8 | 2.30.2-1.mga8 |
gitopenEuler:20.03-LTS |
before 2.27.0-3.oe1 | 2.27.0-3.oe1 |
gitopenEuler:20.03-LTS-SP1 |
before 2.27.0-3.oe1 | 2.27.0-3.oe1 |
gitSUSE:HPE Helion OpenStack 8 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:OpenStack Cloud 7 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:OpenStack Cloud 8 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:OpenStack Cloud 9 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:OpenStack Cloud Crowbar 8 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:OpenStack Cloud Crowbar 9 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server 12 SP2-LTSS |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server 12 SP2-BCL |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server 12 SP3-BCL |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server 12 SP5 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 2.26.2-27.43.1 | 2.26.2-27.43.1 |
gitSUSE:Linux Enterprise Module for Basesystem 15 SP2 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise Module for Development Tools 15 SP2 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise Server 15-LTSS |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise Server 15 SP1-BCL |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 15 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Manager Proxy 4.0 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Manager Retail Branch Server 4.0 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Manager Server 4.0 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Enterprise Storage 6 |
before 2.26.2-3.31.1 | 2.26.2-3.31.1 |
gitSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 2.31.1-10.3.1 | 2.31.1-10.3.1 |
gitSUSE:Linux Enterprise Module for Development Tools 15 SP3 |
before 2.31.1-10.3.1 | 2.31.1-10.3.1 |
gitUbuntu: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 less1: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 |
gitUbuntu: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 less1: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 |
gitUbuntu: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 |
gitopenSUSE:Leap 15.2 |
before 2.26.2-lp152.2.6.1 | 2.26.2-lp152.2.6.1 |
gitopenSUSE:Leap 15.3 |
before 2.31.1-10.3.1 | 2.31.1-10.3.1 |
gitopenSUSE:Tumbleweed From an advisory covering 21 CVEs |
before 2.33.0-1.3 | 2.33.0-1.3 |
git-annexopenSUSE:Tumbleweed |
before 8.20210903-1.2 | 8.20210903-1.2 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | AlkenePan/CVE-2021-21300 | 2021-03-10 |
| PoC in GitHub | Faisal78123/CVE-2021-21300 | 2021-03-10 |
| PoC in GitHub | erranfenech/CVE-2021-21300 | 2021-03-10 |
| PoC in GitHub | 1uanWu/CVE-2021-21300 | 2021-03-11 |
| PoC in GitHub | Kirill89/CVE-2021-21300 | 2021-03-11 |
| PoC in GitHub | Maskhe/CVE-2021-21300 | 2021-03-11 |
| PoC in GitHub | ETOCheney/cve-2021-21300 | 2021-03-15 |
| PoC in GitHub | fengzhouc/CVE-2021-21300 | 2021-04-06 |
| PoC in GitHub | danshuizhangyu/CVE-2021-21300 | 2021-04-07 |
| Metasploit | Git LFS Clone Command Exec | 2021-04-26 |
Show 6 moreShow less
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Roboterh/CVE-2021-21300 | 2022-08-13 |
| PoC in GitHub | henry861010/Network_Security_NYCU | 2023-05-04 |
| PoC in GitHub | Saboor-Hakimi-23/CVE-2021-21300 | 2023-10-28 |
| PoC in GitHub | Sizvy/CVE-2021-21300 | 2025-06-04 |
| PoC in GitHub | the-chivalrousZ/cve-2021-21300 | 2025-10-28 |
| PoC in GitHub | federiconbaez/cortex9-git-case-insensitive-symlink-checkout-model | 2026-11-06 |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploits | PoC in GitHub | |
| affected, exploits, facts | ||
| aliases, products | EUVD | |
| first indexed | CVE 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
github.com/git/git/security/advisories/GHSA-8prw-h3cq-mghm
lore.kernel.org/git/xmqqim6019yd.fsf%40gitster.c.googlers.com
git-scm.com/docs/git-config
git-scm.com/docs/gitattributes
github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592
openwall.com/lists/oss-security/2021/03/09/3
Show 48 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4
support.apple.com/kb/HT212320
seclists.org/fulldisclosure/2021/Apr/60
security.gentoo.org/glsa/202104-01
packetstormsecurity.com/files/163978/Git-LFS-Clone-Command-Execution.html
lists.debian.org/debian-lts-announce/2022/10/msg00014.html
security.alpinelinux.org/vuln/CVE-2021-21300
docs.bell-sw.com/security/cves/CVE-2021-21300
security-tracker.debian.org/tracker/CVE-2021-21300
advisories.mageia.org/MGASA-2021-0137.html
bugs.mageia.org/show_bug.cgi?id=28566
lkml.org/lkml/2021/3/9/995
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1105
nvd.nist.gov/vuln/detail/CVE-2021-21300
suse.com/support/update/announcement/2021/suse-su-20210756-1
bugzilla.suse.com/1183026
suse.com/security/cve/CVE-2021-21300
suse.com/support/update/announcement/2021/suse-su-20210757-1
suse.com/support/update/announcement/2021/suse-su-20212555-1
bugzilla.suse.com/1168930
bugzilla.suse.com/1183580
ubuntu.com/security/CVE-2021-21300
ubuntu.com/security/notices/USN-4761-1
cve.org/CVERecord?id=CVE-2021-21300
lists.opensuse.org/archives/list/[email protected]/thread/33ZBSRS6RUAL5LAGWR6DDONQJXFU6FIT
lists.opensuse.org/archives/list/[email protected]/thread/LNQQ262LF4R2GIO7S7J6NRAUDKV7VGPB
suse.com/security/cve/CVE-2005-4900
suse.com/security/cve/CVE-2017-1000117
suse.com/security/cve/CVE-2017-14867
suse.com/security/cve/CVE-2017-15298
suse.com/security/cve/CVE-2017-8386
suse.com/security/cve/CVE-2018-11233
suse.com/security/cve/CVE-2018-11235
suse.com/security/cve/CVE-2018-17456
suse.com/security/cve/CVE-2018-19486
suse.com/security/cve/CVE-2019-1348
suse.com/security/cve/CVE-2019-1349
suse.com/security/cve/CVE-2019-1350
suse.com/security/cve/CVE-2019-1351
suse.com/security/cve/CVE-2019-1352
suse.com/security/cve/CVE-2019-1353
suse.com/security/cve/CVE-2019-1354
suse.com/security/cve/CVE-2019-1387
suse.com/security/cve/CVE-2019-19604
suse.com/security/cve/CVE-2020-11008
suse.com/security/cve/CVE-2020-5260
Left out here: the rest of 2 source descriptions. The JSON record has them.