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.
CVSS Details
- CVSS 3.1 Base Score: 9
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-coreUpgrade git-allUpgrade git-guiUpgrade perl-GitUpgrade git-core-docUpgrade git-instawebUpgrade gitwebUpgrade git-svnUpgrade git-daemonUpgrade git-credential-libsecretUpgrade git-subtreeUpgrade gitUpgrade git-emailUpgrade perl-Git-SVNUpgrade gitk | Jun 26, 2024 | May 14, 2024 |
| Alpine Linux | — | Upgrade git | Jun 6, 2024 | May 14, 2024 |
| Amazon Linux Ami 2 | — | Upgrade perl-GitUpgrade git-svnUpgrade git-credential-libsecretUpgrade git-coreUpgrade gitwebUpgrade gitUpgrade git-daemonUpgrade perl-Git-SVNUpgrade git-core-docUpgrade git-guiUpgrade gitkUpgrade git-instawebUpgrade git-debuginfoUpgrade git-cvsUpgrade git-subtreeUpgrade git-allUpgrade git-p4Upgrade git-email | May 31, 2024 | May 14, 2024 |
| Amazon_linux | — | Upgrade git | May 31, 2024 | May 14, 2024 |
| Amazon_linux_2023 | — | Upgrade perl-GitUpgrade git-instawebUpgrade gitkUpgrade git-core-docUpgrade git-debuginfoUpgrade git-allUpgrade git-p4Upgrade git-guiUpgrade gitwebUpgrade git-credential-libsecretUpgrade git-emailUpgrade git-subtreeUpgrade git-svnUpgrade git-debugsourceUpgrade perl-Git-SVNUpgrade git-core-debuginfoUpgrade git-coreUpgrade git-credential-libsecret-debuginfoUpgrade git-daemonUpgrade git-cvsUpgrade git-daemon-debuginfoUpgrade git | 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 gitUpgrade git-coreUpgrade git-core-doc | 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 current channel channel.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.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 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 2017 to the latest version in the LTSC 15.9 version stream, or upgrade to a newer supported version of Visual Studio 2017. | Jun 25, 2025 | May 14, 2024 |
| Oracle_linux | — | Upgrade git-allUpgrade git-emailUpgrade perl-GitUpgrade git-guiUpgrade git-instawebUpgrade git-daemonUpgrade git-svnUpgrade git-core-docUpgrade git-coreUpgrade gitkUpgrade perl-Git-SVNUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade gitwebUpgrade git | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | Upgrade git-subtreeUpgrade perl-Git-SVNUpgrade git-debugsourceUpgrade gitkUpgrade git-credential-libsecret-debuginfoUpgrade git-daemon-debuginfoUpgrade git-core-docUpgrade git-debuginfoNo solution existsUpgrade gitwebUpgrade gitUpgrade git-guiUpgrade git-coreUpgrade git-emailUpgrade git-daemonUpgrade git-credential-libsecretUpgrade git-svnUpgrade git-instawebUpgrade git-core-debuginfoUpgrade perl-GitUpgrade git-all | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade git-subtreeUpgrade git-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-credential-libsecretUpgrade gitUpgrade git-coreUpgrade git-daemon-debuginfoUpgrade git-daemonUpgrade git-core-debuginfoUpgrade git-debugsource | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade git-daemonUpgrade git-p4Upgrade git-cvsUpgrade git-emailUpgrade gitkUpgrade git-guiUpgrade perl-gitUpgrade git-coreUpgrade git-docUpgrade git-credential-libsecretUpgrade git-archUpgrade git-svnUpgrade git-webUpgrade git-credential-gnome-keyringUpgrade git | 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 |
Prioritise with Active Threat Intelligence
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