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, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning will be used, which include attempting to hard link the object files instead of copying them. While the code includes checks against symbolic links in the source repository, which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check, and then a symlink during the operation, this will allow the adversary to bypass the check and create hardlinks in the destination objects directory to arbitrary, user-readable files. 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 git-guiUpgrade git-svnUpgrade git-subtreeUpgrade git-emailUpgrade git-instawebUpgrade git-daemonUpgrade perl-Git-SVNUpgrade gitwebUpgrade git-coreUpgrade perl-GitUpgrade git-credential-libsecretUpgrade gitUpgrade gitkUpgrade git-core-docUpgrade git-all | Jun 26, 2024 | May 14, 2024 |
| Alpine Linux | — | Upgrade git | Jun 6, 2024 | May 14, 2024 |
| Amazon Linux Ami 2 | — | Upgrade git-cvsUpgrade git-p4Upgrade git-instawebUpgrade git-subtreeUpgrade git-debuginfoUpgrade git-svnUpgrade git-coreUpgrade git-daemonUpgrade git-emailUpgrade perl-Git-SVNUpgrade git-guiUpgrade git-allUpgrade gitUpgrade git-credential-libsecretUpgrade gitwebUpgrade gitkUpgrade perl-GitUpgrade git-core-doc | May 31, 2024 | May 14, 2024 |
| Amazon_linux | — | Upgrade git | May 31, 2024 | May 14, 2024 |
| Amazon_linux_2023 | — | Upgrade git-svnUpgrade git-subtreeUpgrade git-coreUpgrade git-cvsUpgrade git-credential-libsecretUpgrade gitUpgrade git-core-docUpgrade git-credential-libsecret-debuginfoUpgrade gitwebUpgrade git-instawebUpgrade git-guiUpgrade git-debugsourceUpgrade perl-Git-SVNUpgrade git-emailUpgrade git-core-debuginfoUpgrade perl-GitUpgrade gitkUpgrade git-p4Upgrade git-debuginfoUpgrade git-daemon-debuginfoUpgrade git-daemonUpgrade git-all | 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-coreUpgrade gitUpgrade 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 perl-GitUpgrade git-allUpgrade gitwebUpgrade git-core-docUpgrade git-instawebUpgrade git-guiUpgrade git-coreUpgrade git-daemonUpgrade git-subtreeUpgrade perl-Git-SVNUpgrade gitkUpgrade git-emailUpgrade gitUpgrade git-svnUpgrade git-credential-libsecret | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | Upgrade git-subtreeUpgrade git-credential-libsecret-debuginfoUpgrade gitUpgrade git-credential-libsecretUpgrade git-debuginfoUpgrade git-emailUpgrade git-core-docNo solution existsUpgrade gitwebUpgrade git-daemonUpgrade git-allUpgrade git-guiUpgrade git-core-debuginfoUpgrade gitkUpgrade git-coreUpgrade git-svnUpgrade perl-Git-SVNUpgrade git-instawebUpgrade perl-GitUpgrade git-daemon-debuginfoUpgrade git-debugsource | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade git-daemon-debuginfoUpgrade git-daemonUpgrade git-core-debuginfoUpgrade git-credential-libsecret-debuginfoUpgrade git-credential-libsecretUpgrade git-debugsourceUpgrade git-coreUpgrade gitUpgrade git-subtreeUpgrade git-debuginfo | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade perl-GitUpgrade git-credential-gnome-keyringUpgrade git-daemonUpgrade git-p4Upgrade git-svnUpgrade git-guiUpgrade git-emailUpgrade git-webUpgrade git-cvsUpgrade git-coreUpgrade gitUpgrade git-credential-libsecretUpgrade gitkUpgrade git-docUpgrade 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