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, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local repositories will cause Git to either copy or hardlink files of the source repository into the target repository. This significantly speeds up such local clones compared to doing a "proper" clone and saves both disk space and compute time. When cloning a repository located on the same disk that is owned by a different user than the current user we also end up creating such hardlinks. These files will continue to be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the future. 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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade gitUpgrade git-allUpgrade gitwebUpgrade git-credential-libsecretUpgrade git-svnUpgrade git-daemonUpgrade perl-GitUpgrade perl-Git-SVNUpgrade git-subtreeUpgrade git-instawebUpgrade git-coreUpgrade git-emailUpgrade git-guiUpgrade gitkUpgrade git-core-doc | Jun 26, 2024 | May 14, 2024 |
| Alpine Linux | — | Upgrade git | Jun 6, 2024 | May 14, 2024 |
| Amazon Linux Ami 2 | — | Upgrade git-core-docUpgrade perl-Git-SVNUpgrade gitwebUpgrade git-subtreeUpgrade git-cvsUpgrade gitkUpgrade git-coreUpgrade git-p4Upgrade git-debuginfoUpgrade gitUpgrade git-emailUpgrade git-svnUpgrade git-guiUpgrade git-credential-libsecretUpgrade git-allUpgrade git-daemonUpgrade git-instawebUpgrade perl-Git | May 31, 2024 | May 14, 2024 |
| Amazon_linux | — | Upgrade git | May 31, 2024 | May 14, 2024 |
| Amazon_linux_2023 | — | Upgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-instawebUpgrade perl-GitUpgrade git-coreUpgrade git-emailUpgrade perl-Git-SVNUpgrade git-guiUpgrade git-subtreeUpgrade git-debugsourceUpgrade git-credential-libsecretUpgrade gitwebUpgrade git-allUpgrade gitkUpgrade git-core-docUpgrade git-p4Upgrade git | Feb 17, 2025 | May 14, 2024 |
| Debian | — | Upgrade git | Sep 16, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp10 | — | Upgrade git-helpUpgrade git | Jul 16, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp11 | — | Upgrade git-helpUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade gitUpgrade git-coreUpgrade git-help | Oct 8, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade gitUpgrade git-help | Oct 8, 2024 | May 14, 2024 |
| Oracle_linux | — | Upgrade git-emailUpgrade git-core-docUpgrade perl-Git-SVNUpgrade git-subtreeUpgrade gitkUpgrade git-instawebUpgrade git-daemonUpgrade git-coreUpgrade gitUpgrade perl-GitUpgrade git-allUpgrade gitwebUpgrade git-guiUpgrade git-svnUpgrade git-credential-libsecret | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | Upgrade gitwebUpgrade gitUpgrade git-svnUpgrade git-core-docUpgrade git-credential-libsecretUpgrade perl-GitUpgrade git-subtreeUpgrade git-allUpgrade git-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-instawebUpgrade git-guiNo solution existsUpgrade git-emailUpgrade git-debugsourceUpgrade git-daemon-debuginfoUpgrade git-core-debuginfoUpgrade gitkUpgrade perl-Git-SVNUpgrade git-daemonUpgrade git-core | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade git-subtreeUpgrade gitUpgrade git-credential-libsecretUpgrade git-coreUpgrade git-daemon-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-daemonUpgrade git-debugsourceUpgrade git-debuginfoUpgrade git-core-debuginfo | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade git-webUpgrade perl-GitUpgrade git-guiUpgrade git-docUpgrade git-coreUpgrade git-credential-gnome-keyringUpgrade gitUpgrade gitkUpgrade git-svnUpgrade git-daemonUpgrade git-p4Upgrade git-emailUpgrade git-credential-libsecretUpgrade git-cvsUpgrade git-arch | 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