{"id":"CVE-2021-21300","aliases":["ALPINE-CVE-2021-21300","BELL-CVE-2021-21300","DEBIAN-CVE-2021-21300","DLA-3145-1","EUVD-2021-8658","GHSA-8prw-h3cq-mghm","MGASA-2021-0137","OESA-2021-1105","SUSE-SU-2021:0756-1","SUSE-SU-2021:0757-1","SUSE-SU-2021:2555-1","UBUNTU-CVE-2021-21300","USN-4761-1","openSUSE-SU-2021:0405-1","openSUSE-SU-2021:2555-1","openSUSE-SU-2024:10786-1","openSUSE-SU-2024:10787-1"],"status":"published","title":"malicious repositories can execute remote code while cloning","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.","severity":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.88533,"percentile":0.99776,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-59"],"published":"2021-03-09T00:00:00Z","modified":"2026-10-24T14:24:42Z","exploits":[{"source":"pocgithub","id":"AlkenePan/CVE-2021-21300","title":"AlkenePan/CVE-2021-21300","date":"2021-03-10","url":"https://github.com/AlkenePan/CVE-2021-21300"},{"source":"pocgithub","id":"Faisal78123/CVE-2021-21300","title":"Faisal78123/CVE-2021-21300","date":"2021-03-10","url":"https://github.com/Faisal78123/CVE-2021-21300"},{"source":"pocgithub","id":"erranfenech/CVE-2021-21300","title":"erranfenech/CVE-2021-21300","date":"2021-03-10","url":"https://github.com/erranfenech/CVE-2021-21300"},{"source":"pocgithub","id":"1uanWu/CVE-2021-21300","title":"1uanWu/CVE-2021-21300","date":"2021-03-11","url":"https://github.com/1uanWu/CVE-2021-21300"},{"source":"pocgithub","id":"Kirill89/CVE-2021-21300","title":"Kirill89/CVE-2021-21300","date":"2021-03-11","url":"https://github.com/Kirill89/CVE-2021-21300"},{"source":"pocgithub","id":"Maskhe/CVE-2021-21300","title":"Maskhe/CVE-2021-21300","date":"2021-03-11","url":"https://github.com/Maskhe/CVE-2021-21300"},{"source":"pocgithub","id":"ETOCheney/cve-2021-21300","title":"ETOCheney/cve-2021-21300","date":"2021-03-15","url":"https://github.com/ETOCheney/cve-2021-21300"},{"source":"pocgithub","id":"fengzhouc/CVE-2021-21300","title":"fengzhouc/CVE-2021-21300","date":"2021-04-06","url":"https://github.com/fengzhouc/CVE-2021-21300"},{"source":"pocgithub","id":"danshuizhangyu/CVE-2021-21300","title":"danshuizhangyu/CVE-2021-21300","date":"2021-04-07","url":"https://github.com/danshuizhangyu/CVE-2021-21300"},{"source":"metasploit","id":"exploit/multi/http/git_lfs_clone_command_exec","title":"Git LFS Clone Command Exec","type":"exploit","platform":"Unix","date":"2021-04-26","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/git_lfs_clone_command_exec"},{"source":"pocgithub","id":"Roboterh/CVE-2021-21300","title":"Roboterh/CVE-2021-21300","date":"2022-08-13","url":"https://github.com/Roboterh/CVE-2021-21300"},{"source":"pocgithub","id":"henry861010/Network_Security_NYCU","title":"henry861010/Network_Security_NYCU","date":"2023-05-04","url":"https://github.com/henry861010/Network_Security_NYCU"},{"source":"pocgithub","id":"Saboor-Hakimi-23/CVE-2021-21300","title":"Saboor-Hakimi-23/CVE-2021-21300","date":"2023-10-28","url":"https://github.com/Saboor-Hakimi-23/CVE-2021-21300"},{"source":"pocgithub","id":"Sizvy/CVE-2021-21300","title":"Sizvy/CVE-2021-21300","date":"2025-06-04","url":"https://github.com/Sizvy/CVE-2021-21300"},{"source":"pocgithub","id":"the-chivalrousZ/cve-2021-21300","title":"the-chivalrousZ/cve-2021-21300","date":"2025-10-28","url":"https://github.com/the-chivalrousZ/cve-2021-21300"},{"source":"pocgithub","id":"federiconbaez/cortex9-git-case-insensitive-symlink-checkout-model","title":"federiconbaez/cortex9-git-case-insensitive-symlink-checkout-model","date":"2026-11-06","url":"https://github.com/federiconbaez/cortex9-git-case-insensitive-symlink-checkout-model"}],"fixes":[{"ecosystem":"Alpine:v3.10","package":"git","fixed_in":["2.22.5-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.11","package":"git","fixed_in":["2.24.4-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"git","fixed_in":["2.26.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"git","fixed_in":["2.30.2-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"git","fixed_in":["1:2.30.2-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"git","fixed_in":["1:2.30.2-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"git","fixed_in":["1:2.30.2-1"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"git","fixed_in":["2.21.4-1.mga7"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"git","fixed_in":["2.30.2-1.mga8"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS","package":"git","fixed_in":["2.27.0-3.oe1"],"sources":["osv"]},{"ecosystem":"openEuler:20.03-LTS-SP1","package":"git","fixed_in":["2.27.0-3.oe1"],"sources":["osv"]},{"ecosystem":"SUSE:HPE Helion OpenStack 8","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:OpenStack Cloud 7","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:OpenStack Cloud 8","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:OpenStack Cloud 9","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"git","fixed_in":["2.26.2-27.43.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Manager Proxy 4.0","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Manager Retail Branch Server 4.0","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Manager Server 4.0","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Enterprise Storage 6","package":"git","fixed_in":["2.26.2-3.31.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","package":"git","fixed_in":["2.31.1-10.3.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","package":"git","fixed_in":["2.31.1-10.3.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"git","fixed_in":["1:2.7.4-0ubuntu1.10"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"git","fixed_in":["1:2.17.1-1ubuntu0.8"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"git","fixed_in":["1:2.25.1-1ubuntu3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.2","package":"git","fixed_in":["2.26.2-lp152.2.6.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.3","package":"git","fixed_in":["2.31.1-10.3.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"git-annex","fixed_in":["8.20210903-1.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.22.5-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.11","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.24.4-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.26.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17.0"},{"fixed":"2.30.2-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.30.2-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.30.2-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.30.2-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.20.1-2+deb10u4"}]}],"versions":["1:2.20.1-2","1:2.20.1-2+deb10u1","1:2.20.1-2+deb10u2","1:2.20.1-2+deb10u3"],"bundled":2},{"source":"osv","ecosystem":"Mageia:7","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.21.4-1.mga7"}]}]},{"source":"osv","ecosystem":"Mageia:8","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.30.2-1.mga8"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.27.0-3.oe1"}]}]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.27.0-3.oe1"}]}]},{"source":"osv","ecosystem":"SUSE:HPE Helion OpenStack 8","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 7","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 8","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud 9","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud Crowbar 8","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:OpenStack Cloud Crowbar 9","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 12 SP5","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-27.43.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Manager Proxy 4.0","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Manager Retail Branch Server 4.0","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Manager Server 4.0","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Enterprise Storage 6","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-3.31.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.31.1-10.3.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.31.1-10.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.7.4-0ubuntu1.10"}]}],"versions":["1:2.5.0-1","1:2.6.2-1","1:2.6.3-1","1:2.6.4-1","1:2.7.0~rc3-1","1:2.7.0-1","1:2.7.3-0ubuntu1","1:2.7.4-0ubuntu1","1:2.7.4-0ubuntu1.1","1:2.7.4-0ubuntu1.2","1:2.7.4-0ubuntu1.3","1:2.7.4-0ubuntu1.4","1:2.7.4-0ubuntu1.5","1:2.7.4-0ubuntu1.6","1:2.7.4-0ubuntu1.7","1:2.7.4-0ubuntu1.8","1:2.7.4-0ubuntu1.9"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.17.1-1ubuntu0.8"}]}],"versions":["1:2.14.1-1ubuntu4","1:2.15.1-1ubuntu2","1:2.17.0-1ubuntu1","1:2.17.1-1ubuntu0.1","1:2.17.1-1ubuntu0.3","1:2.17.1-1ubuntu0.4","1:2.17.1-1ubuntu0.5","1:2.17.1-1ubuntu0.6","1:2.17.1-1ubuntu0.7"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.25.1-1ubuntu3.1"}]}],"versions":["1:2.20.1-2ubuntu1","1:2.24.0-1ubuntu1","1:2.24.0-1ubuntu2","1:2.25.0-1ubuntu1","1:2.25.1-1ubuntu1","1:2.25.1-1ubuntu2","1:2.25.1-1ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.7.4-0ubuntu1.10"}]}],"versions":["1:2.5.0-1","1:2.6.2-1","1:2.6.3-1","1:2.6.4-1","1:2.7.0~rc3-1","1:2.7.0-1","1:2.7.3-0ubuntu1","1:2.7.4-0ubuntu1","1:2.7.4-0ubuntu1.1","1:2.7.4-0ubuntu1.2","1:2.7.4-0ubuntu1.3","1:2.7.4-0ubuntu1.4","1:2.7.4-0ubuntu1.5","1:2.7.4-0ubuntu1.6","1:2.7.4-0ubuntu1.7","1:2.7.4-0ubuntu1.8","1:2.7.4-0ubuntu1.9"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.17.1-1ubuntu0.8"}]}],"versions":["1:2.14.1-1ubuntu4","1:2.15.1-1ubuntu2","1:2.17.0-1ubuntu1","1:2.17.1-1ubuntu0.1","1:2.17.1-1ubuntu0.3","1:2.17.1-1ubuntu0.4","1:2.17.1-1ubuntu0.5","1:2.17.1-1ubuntu0.6","1:2.17.1-1ubuntu0.7"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.25.1-1ubuntu3.1"}]}],"versions":["1:2.20.1-2ubuntu1","1:2.24.0-1ubuntu1","1:2.24.0-1ubuntu2","1:2.25.0-1ubuntu1","1:2.25.1-1ubuntu1","1:2.25.1-1ubuntu2","1:2.25.1-1ubuntu3"]},{"source":"osv","ecosystem":"openSUSE:Leap 15.2","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.2-lp152.2.6.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.3","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.31.1-10.3.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"git","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.33.0-1.3"}]}],"bundled":21},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"git-annex","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.20210903-1.2"}]}]}],"products":[{"vendor":"apple","product":"xcode"},{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"git","product":"git"},{"vendor":"git-for-windows","product":"git"},{"vendor":"git-scm","product":"git"}],"references":[{"url":"https://github.com/git/git/security/advisories/GHSA-8prw-h3cq-mghm","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://lore.kernel.org/git/xmqqim6019yd.fsf%40gitster.c.googlers.com/","tags":["x_transferred","web"]},{"url":"https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://git-scm.com/docs/gitattributes#_filter","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/git/git/commit/684dd4c2b414bcf648505e74498a608f28de4592","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2021/03/09/3","tags":["mailing-list","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LCLJJLKKMS5WRFO6C475AOUZTWQLIARX/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LMXX2POK5X576BSDWSXGU7EIK6I72ERU/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BBPNGLQSYJHLZZ37BO42YY6S5OTIF4L4/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://support.apple.com/kb/HT212320","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"http://seclists.org/fulldisclosure/2021/Apr/60","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/202104-01","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/163978/Git-LFS-Clone-Command-Execution.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/10/msg00014.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-21300","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2021-21300","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-21300","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0137.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=28566","tags":["report"]},{"url":"https://lkml.org/lkml/2021/3/9/995","tags":["web"]},{"url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1105","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21300","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210756-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1183026","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2021-21300","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20210757-1/","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2021/suse-su-20212555-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1168930","tags":["report"]},{"url":"https://bugzilla.suse.com/1183580","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2021-21300","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4761-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21300","tags":["report"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/33ZBSRS6RUAL5LAGWR6DDONQJXFU6FIT/","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/LNQQ262LF4R2GIO7S7J6NRAUDKV7VGPB/","tags":["advisory"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2005-4900","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-1000117","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-14867","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-15298","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2017-8386","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11233","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-11235","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-17456","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2018-19486","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1348","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1349","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1350","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1351","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1352","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1353","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1354","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-1387","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2019-19604","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-11008","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2020-5260","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-21300","title":"malicious repositories can execute remote code while cloning","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.","status":"published","published":"2021-03-09T00:00:00Z","modified":"2024-08-03T18:09:15.85Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:33:00.488332Z"}],"euvd":[{"id":"EUVD-2021-8658","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.","status":"published","published":"2021-03-09T00:00:00Z","modified":"2024-08-03T18:09:15Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-03T03:25:06.347262Z"}],"nvd":[{"id":"CVE-2021-21300","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.","status":"published","published":"2021-03-09T20:15:13.26Z","modified":"2026-06-17T03:35:14.77Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"ALPINE-CVE-2021-21300","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.","status":"published","published":"2021-03-09T20:15:13.26Z","modified":"2026-10-23T17:17:56.147461185Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:48.646074Z"},{"id":"BELL-CVE-2021-21300","title":"CVE-2021-21300 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:15:11.85881Z","modified":"2026-01-26T09:49:19.378566Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:15.925958Z"},{"id":"CVE-2021-21300","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.","status":"published","published":"2021-03-09T20:15:13.26Z","modified":"2026-10-24T14:24:42.39044525Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:18.004149Z"},{"id":"DEBIAN-CVE-2021-21300","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.","status":"published","published":"2021-03-09T20:15:13.26Z","modified":"2026-10-23T18:03:11.696428685Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.637046Z"},{"id":"OESA-2021-1105","title":"git security update","description":"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.\r\n\r\nSecurity Fix(es):\r\n\r\nGit 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\u0026apos;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)","status":"published","published":"2021-04-07T11:04:20Z","modified":"2026-08-18T01:15:26.236250247Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:38.987987Z"},{"id":"UBUNTU-CVE-2021-21300","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.","status":"published","published":"2021-03-09T18:00:00Z","modified":"2026-02-04T02:20:01.299911Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"DLA-3145-1","title":"git - security update","status":"published","published":"2022-10-11T00:00:00Z","modified":"2026-03-09T01:23:10.2193Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2021-0137","title":"Updated git packages fix a security vulnerability","description":"On case-insensitive file systems with support for symbolic links, if Git is\nconfigured globally to apply delay-capable clean/smudge filters (such as Git\nLFS), Git could be fooled into running remote code during a clone\n(CVE-2021-21300).\n","status":"published","published":"2021-03-14T21:20:42Z","modified":"2026-04-16T04:44:11.052628426Z","updated_at":"2026-11-02T15:49:41.509337Z"},{"id":"openSUSE-SU-2021:0405-1","title":"Security update for git","description":"This update for git fixes the following issues:\n\n- On case-insensitive filesystems, with support for symbolic links,\n  if Git is configured globally to apply delay-capable clean/smudge\n  filters (such as Git LFS), Git could be fooled into running\n  remote code during a clone. (bsc#1183026, CVE-2021-21300)\n\nThis update was imported from the SUSE:SLE-15:Update update project.","status":"published","published":"2021-03-14T14:08:26Z","modified":"2026-02-04T04:32:25.490998Z","updated_at":"2026-11-02T16:58:31.879684Z"},{"id":"openSUSE-SU-2021:2555-1","title":"Security update for git","description":"This update for git fixes the following issues:\n\nUpdate from version 2.26.2 to version 2.31.1 (jsc#SLE-18152)\n\nSecurity fixes:\n\n- CVE-2021-21300: On case-insensitive file systems with support for symbolic links, if Git is configured globally \n  to apply delay-capable clean/smudge filters (such as Git LFS), Git could run remote code during a clone. (bsc#1183026)\n\nNon security changes:\n\n- Add `sysusers` file to create `git-daemon` user.\n- Remove `perl-base` and `openssh-server` dependency on `git-core`and provide a `perl-Git` package. (jsc#SLE-17838)\n- `fsmonitor` bug fixes\n- Fix `git bisect` to take an annotated tag as a good/bad endpoint\n- Fix a corner case in `git mv` on case insensitive systems\n- Require only `openssh-clients` where possible (like Tumbleweed or SUSE Linux Enterprise \u003e= 15 SP3). (bsc#1183580)\n- Drop `rsync` requirement, not necessary anymore.\n- Use of `pack-redundant` command is discouraged and will trigger a warning. The replacement is `repack -d`.\n- The `--format=%(trailers)` mechanism gets enhanced to make it easier to design output for machine consumption.\n- No longer give message to choose between rebase or merge upon pull if the history `fast-forwards`.\n- The configuration variable `core.abbrev` can be set to `no` to force no abbreviation regardless of the hash algorithm\n- `git rev-parse` can be explicitly told to give output as absolute or relative path with the \n  `--path-format=(absolute|relative)` option.\n- Bash completion update to make it easier for end-users to add completion for their custom `git` subcommands.\n- `git maintenance` learned to drive scheduled maintenance on platforms whose native scheduling methods are not 'cron'.\n- After expiring a reflog and making a single commit, the reflog for the branch would record a single entry that \n  knows both `@{0}` and `@{1}`, but we failed to answer 'what commit were we on?', i.e. `@{1}`\n- `git bundle` learns `--stdin` option to read its refs from the standard input.  \n  Also, it now does not lose refs when they point at the same object.\n- `git log` learned a new `--diff-merges=\u003chow\u003e` option.\n- `git ls-files` can and does show multiple entries when the index is unmerged, which is a source for confusion \n  unless `-s/-u` option is in use.  A new option `--deduplicate` has been introduced.\n- `git worktree list` now annotates worktrees as prunable, shows locked and prunable attributes \n  in `--porcelain mode`, and gained a `--verbose` option.\n- `git clone` tries to locally check out the branch pointed at by HEAD of the remote repository after it \n  is done, but the protocol did not convey the information necessary to do so when copying an empty repository.  \n  The protocol v2 learned how to do so.\n- There are other ways than `..` for a single token to denote a `commit range', namely `\u003crev\u003e^!` \n   and `\u003crev\u003e^-\u003cn\u003e`, but `git range-diff` did not understand them.\n- The `git range-diff` command learned `--(left|right)-only` option to show only one side of the compared range.\n- `git mergetool` feeds three versions (base, local and remote) of a conflicted path unmodified. \n  The command learned to optionally prepare these files with unconflicted parts already resolved.\n- The `.mailmap` is documented to be read only from the root level of a working tree, but a stray file \n  in a bare repository also was read by accident, which has been corrected.\n- `git maintenance` tool learned a new `pack-refs` maintenance task.\n- Improved error message given when a configuration variable that is expected to have a boolean value.\n- Signed commits and tags now allow verification of objects, whose two object names \n  (one in SHA-1, the other in SHA-256) are both signed.\n- `git rev-list` command learned `--disk-usage` option.\n- `git diff`, `git log` `--{skip,rotate}-to=\u003cpath\u003e` allows the user to discard diff output for early \n  paths or move them to the end of the output.\n- `git difftool` learned `--skip-to=\u003cpath\u003e` option to restart an interrupted session from an arbitrary path.\n- `git grep` has been tweaked to be limited to the sparse checkout paths.\n- `git rebase --[no-]fork-point` gained a configuration variable `rebase.forkPoint` so that users do not have \n  to keep specifying a non-default setting.\n- `git stash` did not work well in a sparsely checked out working tree.\n- Newline characters in the host and path part of `git://` URL are now forbidden.\n- `Userdiff` updates for PHP, Rust, CSS\n- Avoid administrator error leading to data loss with `git push --force-with-lease[=\u003cref\u003e]` by \n  introducing `--force-if-includes`\n- only pull `asciidoctor` for the default ruby version\n- The `--committer-date-is-author-date` option of `rebase` and `am` subcommands lost the e-mail address by \n  mistake in 2.29\n- The transport protocol v2 has become the default again\n- `git worktree` gained a `repair` subcommand, `git init --separate-git-dir` no longer corrupts administrative data \n  related to linked worktrees\n- `git maintenance` introduced for repository maintenance tasks\n- `fetch.writeCommitGraph` is deemed to be still a bit too risky and is no longer part of the \n  `feature.experimental` set.\n- The commands in the `diff` family honors the `diff.relative` configuration variable.\n- `git diff-files` has been taught to say paths that are marked as `intent-to-add` are new files, \n  not modified from an empty blob.\n- `git gui` now allows opening work trees from the start-up dialog.\n- `git bugreport` reports what shell is in use.\n- Some repositories have commits that record wrong committer timezone; `git fast-import` has an option to pass \n  these timestamps intact to allow recreating existing repositories as-is.\n- `git describe` will always use the `long` version when giving its output based misplaced tags \n- `git pull` issues a warning message until the `pull.rebase` configuration variable is explicitly given\n  ","status":"published","published":"2021-07-29T06:30:08Z","modified":"2026-02-04T03:39:21.75292Z","updated_at":"2026-11-02T16:58:32.266854Z"},{"id":"openSUSE-SU-2024:10786-1","title":"git-2.33.0-1.3 on GA media","description":"These are all security issues fixed in the git-2.33.0-1.3 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:55:41.806246Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"openSUSE-SU-2024:10787-1","title":"git-annex-8.20210903-1.2 on GA media","description":"These are all security issues fixed in the git-annex-8.20210903-1.2 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:48:32.274424Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"SUSE-SU-2021:0756-1","title":"Security update for git","description":"This update for git fixes the following issues:\n\n- On case-insensitive filesystems, with support for symbolic links,\n  if Git is configured globally to apply delay-capable clean/smudge\n  filters (such as Git LFS), Git could be fooled into running\n  remote code during a clone. (bsc#1183026, CVE-2021-21300)\n","status":"published","published":"2021-03-09T18:22:23Z","modified":"2026-02-04T03:32:03.94833Z","updated_at":"2026-11-02T15:53:48.690034Z"},{"id":"SUSE-SU-2021:0757-1","title":"Security update for git","description":"This update for git fixes the following issues:\n\n- On case-insensitive filesystems, with support for symbolic links,\n  if Git is configured globally to apply delay-capable clean/smudge\n  filters (such as Git LFS), Git could be fooled into running\n  remote code during a clone. (bsc#1183026, CVE-2021-21300)\n","status":"published","published":"2021-03-09T18:44:45Z","modified":"2026-02-04T03:34:30.518399Z","updated_at":"2026-11-02T15:53:48.690034Z"},{"id":"SUSE-SU-2021:2555-1","title":"Security update for git","description":"This update for git fixes the following issues:\n\nUpdate from version 2.26.2 to version 2.31.1 (jsc#SLE-18152)\n\nSecurity fixes:\n\n- CVE-2021-21300: On case-insensitive file systems with support for symbolic links, if Git is configured globally \n  to apply delay-capable clean/smudge filters (such as Git LFS), Git could run remote code during a clone. (bsc#1183026)\n\nNon security changes:\n\n- Add `sysusers` file to create `git-daemon` user.\n- Remove `perl-base` and `openssh-server` dependency on `git-core`and provide a `perl-Git` package. (jsc#SLE-17838)\n- `fsmonitor` bug fixes\n- Fix `git bisect` to take an annotated tag as a good/bad endpoint\n- Fix a corner case in `git mv` on case insensitive systems\n- Require only `openssh-clients` where possible (like Tumbleweed or SUSE Linux Enterprise \u003e= 15 SP3). (bsc#1183580)\n- Drop `rsync` requirement, not necessary anymore.\n- Use of `pack-redundant` command is discouraged and will trigger a warning. The replacement is `repack -d`.\n- The `--format=%(trailers)` mechanism gets enhanced to make it easier to design output for machine consumption.\n- No longer give message to choose between rebase or merge upon pull if the history `fast-forwards`.\n- The configuration variable `core.abbrev` can be set to `no` to force no abbreviation regardless of the hash algorithm\n- `git rev-parse` can be explicitly told to give output as absolute or relative path with the \n  `--path-format=(absolute|relative)` option.\n- Bash completion update to make it easier for end-users to add completion for their custom `git` subcommands.\n- `git maintenance` learned to drive scheduled maintenance on platforms whose native scheduling methods are not 'cron'.\n- After expiring a reflog and making a single commit, the reflog for the branch would record a single entry that \n  knows both `@{0}` and `@{1}`, but we failed to answer 'what commit were we on?', i.e. `@{1}`\n- `git bundle` learns `--stdin` option to read its refs from the standard input.  \n  Also, it now does not lose refs when they point at the same object.\n- `git log` learned a new `--diff-merges=\u003chow\u003e` option.\n- `git ls-files` can and does show multiple entries when the index is unmerged, which is a source for confusion \n  unless `-s/-u` option is in use.  A new option `--deduplicate` has been introduced.\n- `git worktree list` now annotates worktrees as prunable, shows locked and prunable attributes \n  in `--porcelain mode`, and gained a `--verbose` option.\n- `git clone` tries to locally check out the branch pointed at by HEAD of the remote repository after it \n  is done, but the protocol did not convey the information necessary to do so when copying an empty repository.  \n  The protocol v2 learned how to do so.\n- There are other ways than `..` for a single token to denote a `commit range', namely `\u003crev\u003e^!` \n   and `\u003crev\u003e^-\u003cn\u003e`, but `git range-diff` did not understand them.\n- The `git range-diff` command learned `--(left|right)-only` option to show only one side of the compared range.\n- `git mergetool` feeds three versions (base, local and remote) of a conflicted path unmodified. \n  The command learned to optionally prepare these files with unconflicted parts already resolved.\n- The `.mailmap` is documented to be read only from the root level of a working tree, but a stray file \n  in a bare repository also was read by accident, which has been corrected.\n- `git maintenance` tool learned a new `pack-refs` maintenance task.\n- Improved error message given when a configuration variable that is expected to have a boolean value.\n- Signed commits and tags now allow verification of objects, whose two object names \n  (one in SHA-1, the other in SHA-256) are both signed.\n- `git rev-list` command learned `--disk-usage` option.\n- `git diff`, `git log` `--{skip,rotate}-to=\u003cpath\u003e` allows the user to discard diff output for early \n  paths or move them to the end of the output.\n- `git difftool` learned `--skip-to=\u003cpath\u003e` option to restart an interrupted session from an arbitrary path.\n- `git grep` has been tweaked to be limited to the sparse checkout paths.\n- `git rebase --[no-]fork-point` gained a configuration variable `rebase.forkPoint` so that users do not have \n  to keep specifying a non-default setting.\n- `git stash` did not work well in a sparsely checked out working tree.\n- Newline characters in the host and path part of `git://` URL are now forbidden.\n- `Userdiff` updates for PHP, Rust, CSS\n- Avoid administrator error leading to data loss with `git push --force-with-lease[=\u003cref\u003e]` by \n  introducing `--force-if-includes`\n- only pull `asciidoctor` for the default ruby version\n- The `--committer-date-is-author-date` option of `rebase` and `am` subcommands lost the e-mail address by \n  mistake in 2.29\n- The transport protocol v2 has become the default again\n- `git worktree` gained a `repair` subcommand, `git init --separate-git-dir` no longer corrupts administrative data \n  related to linked worktrees\n- `git maintenance` introduced for repository maintenance tasks\n- `fetch.writeCommitGraph` is deemed to be still a bit too risky and is no longer part of the \n  `feature.experimental` set.\n- The commands in the `diff` family honors the `diff.relative` configuration variable.\n- `git diff-files` has been taught to say paths that are marked as `intent-to-add` are new files, \n  not modified from an empty blob.\n- `git gui` now allows opening work trees from the start-up dialog.\n- `git bugreport` reports what shell is in use.\n- Some repositories have commits that record wrong committer timezone; `git fast-import` has an option to pass \n  these timestamps intact to allow recreating existing repositories as-is.\n- `git describe` will always use the `long` version when giving its output based misplaced tags \n- `git pull` issues a warning message until the `pull.rebase` configuration variable is explicitly given\n  ","status":"published","published":"2021-07-29T06:30:03Z","modified":"2026-02-04T03:41:37.100018Z","updated_at":"2026-11-02T15:53:49.605187Z"},{"id":"USN-4761-1","title":"git vulnerability","description":"Matheus Tavares discovered that Git incorrectly handled delay-capable\nclean/smudge filters when being used on case-insensitive filesystems. A\nremote attacker could possibly use this issue to execute arbitrary code.\n","status":"published","published":"2021-03-09T18:25:05Z","modified":"2026-02-10T04:42:05Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
