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.
CVSS Details
- CVSS 3.1 Base Score: 3.9
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-allUpgrade gitwebUpgrade git-svnUpgrade git-daemonUpgrade git-credential-libsecretUpgrade gitUpgrade perl-GitUpgrade git-instawebUpgrade gitkUpgrade git-emailUpgrade git-guiUpgrade git-core-docUpgrade perl-Git-SVNUpgrade git-coreUpgrade git-subtree | Jun 26, 2024 | May 14, 2024 |
| Alpine Linux | — | Upgrade git | Jun 6, 2024 | May 14, 2024 |
| Amazon Linux Ami 2 | — | Upgrade git-allUpgrade git-emailUpgrade git-daemonUpgrade perl-GitUpgrade git-credential-libsecretUpgrade git-instawebUpgrade git-svnUpgrade git-guiUpgrade git-coreUpgrade gitwebUpgrade git-subtreeUpgrade git-p4Upgrade perl-Git-SVNUpgrade gitkUpgrade git-debuginfoUpgrade git-core-docUpgrade gitUpgrade git-cvs | May 31, 2024 | May 14, 2024 |
| Amazon_linux | — | Upgrade git | May 31, 2024 | May 14, 2024 |
| Amazon_linux_2023 | — | Upgrade git-core-debuginfoUpgrade git-cvsUpgrade perl-GitUpgrade git-svnUpgrade git-daemonUpgrade git-debuginfoUpgrade git-guiUpgrade git-subtreeUpgrade git-coreUpgrade git-instawebUpgrade git-daemon-debuginfoUpgrade git-emailUpgrade git-debugsourceUpgrade git-credential-libsecret-debuginfoUpgrade perl-Git-SVNUpgrade git-p4Upgrade git-credential-libsecretUpgrade gitUpgrade gitkUpgrade git-allUpgrade git-core-docUpgrade gitweb | 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 git-helpUpgrade git-coreUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade git-helpUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Oracle_linux | — | Upgrade perl-GitUpgrade git-guiUpgrade gitUpgrade git-daemonUpgrade git-coreUpgrade git-credential-libsecretUpgrade gitwebUpgrade git-svnUpgrade git-allUpgrade git-instawebUpgrade git-emailUpgrade perl-Git-SVNUpgrade git-subtreeUpgrade gitkUpgrade git-core-doc | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | Upgrade git-coreUpgrade git-daemonNo solution existsUpgrade git-emailUpgrade git-instawebUpgrade gitkUpgrade perl-Git-SVNUpgrade git-debugsourceUpgrade git-core-debuginfoUpgrade git-guiUpgrade git-daemon-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-svnUpgrade gitUpgrade git-subtreeUpgrade git-debuginfoUpgrade git-allUpgrade perl-GitUpgrade git-credential-libsecretUpgrade gitwebUpgrade git-core-doc | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade git-debugsourceUpgrade git-debuginfoUpgrade git-core-debuginfoUpgrade git-daemonUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade gitUpgrade git-credential-libsecret-debuginfoUpgrade git-coreUpgrade git-daemon-debuginfo | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade git-svnUpgrade git-p4Upgrade gitUpgrade git-cvsUpgrade git-daemonUpgrade git-archUpgrade git-credential-libsecretUpgrade git-emailUpgrade gitkUpgrade git-credential-gnome-keyringUpgrade git-coreUpgrade git-guiUpgrade git-webUpgrade git-docUpgrade perl-Git | May 29, 2024 | May 14, 2024 |
| Ubuntu | — | Upgrade git (Ubuntu Pro)Upgrade git | 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