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 gitwebUpgrade perl-GitUpgrade git-allUpgrade git-daemonUpgrade git-credential-libsecretUpgrade gitUpgrade git-svnUpgrade git-subtreeUpgrade git-instawebUpgrade gitkUpgrade git-guiUpgrade git-core-docUpgrade git-emailUpgrade git-coreUpgrade perl-Git-SVN | Jun 26, 2024 | May 14, 2024 |
| Alpine Linux | — | Upgrade git | Jun 6, 2024 | May 14, 2024 |
| Amazon Linux Ami 2 | — | Upgrade gitwebUpgrade gitUpgrade git-subtreeUpgrade gitkUpgrade git-coreUpgrade git-core-docUpgrade git-debuginfoUpgrade git-p4Upgrade git-cvsUpgrade perl-Git-SVNUpgrade git-credential-libsecretUpgrade git-allUpgrade git-guiUpgrade git-svnUpgrade perl-GitUpgrade git-daemonUpgrade git-instawebUpgrade 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-core-debuginfoUpgrade git-instawebUpgrade git-guiUpgrade git-emailUpgrade git-daemonUpgrade git-coreUpgrade git-debuginfoUpgrade perl-Git-SVNUpgrade git-credential-libsecret-debuginfoUpgrade git-cvsUpgrade git-svnUpgrade git-daemon-debuginfoUpgrade git-debugsourceUpgrade git-subtreeUpgrade git-p4Upgrade gitUpgrade gitwebUpgrade git-core-docUpgrade git-credential-libsecretUpgrade gitkUpgrade git-all | Feb 17, 2025 | May 14, 2024 |
| Debian | — | Upgrade git | Sep 16, 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 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 git-helpUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Oracle_linux | — | Upgrade gitwebUpgrade git-guiUpgrade git-allUpgrade perl-GitUpgrade git-credential-libsecretUpgrade gitUpgrade git-svnUpgrade git-coreUpgrade git-daemonUpgrade perl-Git-SVNUpgrade git-emailUpgrade git-core-docUpgrade gitkUpgrade git-instawebUpgrade git-subtree | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | Upgrade git-credential-libsecret-debuginfoUpgrade git-credential-libsecretUpgrade git-svnUpgrade perl-GitUpgrade git-allUpgrade gitwebUpgrade git-debuginfoUpgrade gitUpgrade git-subtreeUpgrade git-core-docUpgrade git-core-debuginfoUpgrade git-coreUpgrade git-instawebUpgrade git-daemon-debuginfoUpgrade git-guiUpgrade git-debugsourceUpgrade git-emailNo solution existsUpgrade git-daemonUpgrade perl-Git-SVNUpgrade gitk | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade git-debuginfoUpgrade git-core-debuginfoUpgrade git-debugsourceUpgrade git-daemonUpgrade git-credential-libsecretUpgrade gitUpgrade git-daemon-debuginfoUpgrade git-subtreeUpgrade git-coreUpgrade git-credential-libsecret-debuginfo | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade git-cvsUpgrade git-credential-gnome-keyringUpgrade gitUpgrade git-svnUpgrade gitkUpgrade git-daemonUpgrade git-archUpgrade git-emailUpgrade git-credential-libsecretUpgrade git-p4Upgrade git-coreUpgrade git-guiUpgrade perl-GitUpgrade git-webUpgrade git-doc | 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