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