CVE-2021-21300
Git Symbolic Link Execution Vulnerability
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.
INFO
Published Date :
March 9, 2021, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 5:47 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.8
Exploitability Score :
1.6
Public PoC/Exploit Available at Github
CVE-2021-21300 has a 38 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-21300
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-21300
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
All CVE - PoC in GitHub
poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate
None
渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms
Assembly Python Shell PHP C++ C Go Ruby HTML Java
None
CSS HTML JavaScript
None
Shell
poc集合(持续更新ing)
A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库
vulnerability
zomotoa food app
CVE-2021-21300
Shell
None
None
工具书单
Perl Shell
None
None
Assembly Python Shell PHP C++ C Go Ruby HTML Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-21300
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-21300
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/163978/Git-LFS-Clone-Command-Execution.html Added Reference http://seclists.org/fulldisclosure/2021/Apr/60 Added Reference http://www.openwall.com/lists/oss-security/2021/03/09/3 Added Reference https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592 Added Reference https://github.com/git/git/security/advisories/GHSA-8prw-h3cq-mghm Added Reference https://git-scm.com/docs/gitattributes#_filter Added Reference https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks Added Reference https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ Added Reference https://lore.kernel.org/git/xmqqim6019yd.fsf%40gitster.c.googlers.com/ Added Reference https://security.gentoo.org/glsa/202104-01 Added Reference https://support.apple.com/kb/HT212320 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference GitHub, Inc. https://lore.kernel.org/git/xmqqim6019yd.fsf%40gitster.c.googlers.com/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ [No types assigned] Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/ [No types assigned] Removed Reference GitHub, Inc. https://lore.kernel.org/git/[email protected]/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/ -
Modified Analysis by [email protected]
Dec. 06, 2022
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 11, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html [No Types Assigned] -
Modified Analysis by [email protected]
Sep. 23, 2021
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/163978/Git-LFS-Clone-Command-Execution.html No Types Assigned http://packetstormsecurity.com/files/163978/Git-LFS-Clone-Command-Execution.html Exploit, Third Party Advisory, VDB Entry -
CVE Modified by [email protected]
Aug. 31, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/163978/Git-LFS-Clone-Command-Execution.html [No Types Assigned] -
Modified Analysis by [email protected]
May. 05, 2021
Action Type Old Value New Value Changed Reference Type http://seclists.org/fulldisclosure/2021/Apr/60 No Types Assigned http://seclists.org/fulldisclosure/2021/Apr/60 Mailing List, Third Party Advisory Changed Reference Type https://security.gentoo.org/glsa/202104-01 No Types Assigned https://security.gentoo.org/glsa/202104-01 Third Party Advisory -
CVE Modified by [email protected]
May. 01, 2021
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202104-01 [No Types Assigned] -
CVE Modified by [email protected]
Apr. 27, 2021
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2021/Apr/60 [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 27, 2021
Action Type Old Value New Value Changed Reference Type https://support.apple.com/kb/HT212320 No Types Assigned https://support.apple.com/kb/HT212320 Third Party Advisory Added CPE Configuration AND OR *cpe:2.3:a:apple:xcode:*:*:*:*:*:*:*:* versions up to (excluding) 12.5 OR cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* versions from (including) 11.0 -
CVE Modified by [email protected]
Apr. 26, 2021
Action Type Old Value New Value Added Reference https://support.apple.com/kb/HT212320 [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 26, 2021
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ Third Party Advisory https://lists.fedoraproject.org/archives/list/[email protected]/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ Mailing List, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 19, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/ [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 16, 2021
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:H/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2021/03/09/3 No Types Assigned http://www.openwall.com/lists/oss-security/2021/03/09/3 Exploit, Mailing List, Third Party Advisory Changed Reference Type https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592 No Types Assigned https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592 Patch, Third Party Advisory Changed Reference Type https://github.com/git/git/security/advisories/GHSA-8prw-h3cq-mghm No Types Assigned https://github.com/git/git/security/advisories/GHSA-8prw-h3cq-mghm Third Party Advisory Changed Reference Type https://git-scm.com/docs/gitattributes#_filter No Types Assigned https://git-scm.com/docs/gitattributes#_filter Vendor Advisory Changed Reference Type https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks No Types Assigned https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks Vendor Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/ Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ Third Party Advisory Changed Reference Type https://lore.kernel.org/git/[email protected]/ No Types Assigned https://lore.kernel.org/git/[email protected]/ Release Notes, Third Party Advisory Added CWE NIST CWE-59 Added CPE Configuration OR *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions up to (including) 2.14.2 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.17.0 up to (excluding) 2.17.6 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.18.0 up to (excluding) 2.18.5 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.19.0 up to (excluding) 2.19.6 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.20.0 up to (excluding) 2.20.5 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.21.0 up to (excluding) 2.21.4 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.22.0 up to (excluding) 2.22.5 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.23.0 up to (excluding) 2.23.4 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.24.0 up to (excluding) 2.24.4 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.25.0 up to (excluding) 2.25.5 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.26.0 up to (excluding) 2.26.3 *cpe:2.3:a:git-scm:git:2.27.0:*:*:*:*:*:*:* *cpe:2.3:a:git-scm:git:2.28.0:*:*:*:*:*:*:* *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.29.0 up to (excluding) 2.29.3 *cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* versions from (including) 2.30.0 up to (excluding) 2.30.2 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 15, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/ [No Types Assigned] -
CVE Modified by [email protected]
Mar. 12, 2021
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/ [No Types Assigned] -
CVE Modified by [email protected]
Mar. 10, 2021
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2021/03/09/3 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-21300
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-21300
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
75.33 }} -9.66%
score
0.98366
percentile