Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a `.git/` directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to avoid cloning repositories from untrusted sources.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-subtreeUpgrade gitkUpgrade git-credential-libsecretUpgrade perl-Git-SVNUpgrade gitUpgrade git-emailUpgrade git-guiUpgrade git-core-docUpgrade gitwebUpgrade git-allUpgrade git-instawebUpgrade git-svnUpgrade git-daemonUpgrade git-coreUpgrade perl-Git | Jun 26, 2024 | May 14, 2024 |
| Alpine Linux | — | Upgrade git | Jun 6, 2024 | May 14, 2024 |
| Amazon Linux Ami 2 | — | Upgrade gitkUpgrade git-subtreeUpgrade git-allUpgrade git-debuginfoUpgrade git-core-docUpgrade git-p4Upgrade git-guiUpgrade git-emailUpgrade git-instawebUpgrade git-cvsUpgrade git-coreUpgrade gitUpgrade perl-GitUpgrade gitwebUpgrade perl-Git-SVNUpgrade git-svnUpgrade git-daemonUpgrade git-credential-libsecret | May 31, 2024 | May 14, 2024 |
| Amazon_linux | — | Upgrade git | May 31, 2024 | May 14, 2024 |
| Amazon_linux_2023 | — | Upgrade git-subtreeUpgrade git-credential-libsecretUpgrade git-debugsourceUpgrade git-credential-libsecret-debuginfoUpgrade git-daemonUpgrade git-cvsUpgrade git-coreUpgrade git-core-debuginfoUpgrade perl-Git-SVNUpgrade gitUpgrade git-daemon-debuginfoUpgrade git-svnUpgrade git-emailUpgrade git-instawebUpgrade gitwebUpgrade git-allUpgrade perl-GitUpgrade git-guiUpgrade git-core-docUpgrade git-p4Upgrade git-debuginfoUpgrade gitk | Feb 17, 2025 | May 14, 2024 |
| Debian | — | Upgrade git | Jun 27, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp10 | — | Upgrade gitUpgrade git-help | Jul 16, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp11 | — | Upgrade gitUpgrade git-help | Oct 8, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade git-helpUpgrade git-coreUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp8 | — | Upgrade git-core-docUpgrade git-coreUpgrade git | Jan 21, 2025 | May 14, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade git-helpUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Microsoft Visual_studio | — | Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.8 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2017 to the latest version in the LTSC 15.9 version stream, or upgrade to a newer supported version of Visual Studio 2017.Update Microsoft Visual Studio 2022 to the latest version in the current channel channel.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.6 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.4 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2019 to the latest version in the LTSC 16.11 version stream, or upgrade to a newer supported version of Visual Studio 2019. | Jun 25, 2025 | May 14, 2024 |
| Oracle_linux | — | Upgrade gitkUpgrade git-credential-libsecretUpgrade gitUpgrade perl-Git-SVNUpgrade gitwebUpgrade git-coreUpgrade git-subtreeUpgrade git-core-docUpgrade git-allUpgrade git-guiUpgrade git-emailUpgrade perl-GitUpgrade git-svnUpgrade git-daemonUpgrade git-instaweb | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | Upgrade gitUpgrade git-core-docUpgrade perl-Git-SVNNo solution existsUpgrade gitwebUpgrade git-subtreeUpgrade git-daemon-debuginfoUpgrade git-debugsourceUpgrade git-credential-libsecret-debuginfoUpgrade gitkUpgrade git-debuginfoUpgrade perl-GitUpgrade git-instawebUpgrade git-credential-libsecretUpgrade git-emailUpgrade git-guiUpgrade git-core-debuginfoUpgrade git-svnUpgrade git-daemonUpgrade git-allUpgrade git-core | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade git-debugsourceUpgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-coreUpgrade git-core-debuginfoUpgrade git-credential-libsecretUpgrade git-debuginfoUpgrade git-subtreeUpgrade git-credential-libsecret-debuginfoUpgrade git | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade git-p4Upgrade git-daemonUpgrade git-guiUpgrade git-emailUpgrade gitkUpgrade git-cvsUpgrade perl-GitUpgrade git-credential-gnome-keyringUpgrade git-svnUpgrade gitUpgrade git-webUpgrade git-docUpgrade git-coreUpgrade git-archUpgrade git-credential-libsecret | May 29, 2024 | May 14, 2024 |
| Ubuntu | — | Upgrade gitUpgrade git (Ubuntu Pro) | Jun 6, 2024 | May 14, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | May 14, 2024 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub