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 gitUpgrade git-allUpgrade git-coreUpgrade git-core-docUpgrade git-credential-libsecretUpgrade git-daemonUpgrade git-emailUpgrade git-guiUpgrade git-instawebUpgrade git-subtreeUpgrade git-svnUpgrade gitkUpgrade gitwebUpgrade perl-GitUpgrade perl-Git-SVN | Jun 26, 2024 | May 14, 2024 |
| Alpine Linux | — | Upgrade git | Jun 6, 2024 | May 14, 2024 |
| Amazon Linux Ami 2 | — | Upgrade gitUpgrade git-allUpgrade git-coreUpgrade git-core-docUpgrade git-credential-libsecretUpgrade git-cvsUpgrade git-daemonUpgrade git-debuginfoUpgrade git-emailUpgrade git-guiUpgrade git-instawebUpgrade git-p4Upgrade git-subtreeUpgrade git-svnUpgrade gitkUpgrade gitwebUpgrade perl-GitUpgrade perl-Git-SVN | May 31, 2024 | May 14, 2024 |
| Amazon_linux | — | Upgrade git | May 31, 2024 | May 14, 2024 |
| Amazon_linux_2023 | — | Upgrade gitUpgrade git-allUpgrade git-coreUpgrade git-core-debuginfoUpgrade git-core-docUpgrade git-credential-libsecretUpgrade git-credential-libsecret-debuginfoUpgrade git-cvsUpgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-debuginfoUpgrade git-debugsourceUpgrade git-emailUpgrade git-guiUpgrade git-instawebUpgrade git-p4Upgrade git-subtreeUpgrade git-svnUpgrade gitkUpgrade gitwebUpgrade perl-GitUpgrade perl-Git-SVN | 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 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 gitUpgrade git-allUpgrade git-coreUpgrade git-core-docUpgrade git-credential-libsecretUpgrade git-daemonUpgrade git-emailUpgrade git-guiUpgrade git-instawebUpgrade git-subtreeUpgrade git-svnUpgrade gitkUpgrade gitwebUpgrade perl-GitUpgrade perl-Git-SVN | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | No solution existsUpgrade gitUpgrade git-allUpgrade git-coreUpgrade git-core-debuginfoUpgrade git-core-docUpgrade git-credential-libsecretUpgrade git-credential-libsecret-debuginfoUpgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-debuginfoUpgrade git-debugsourceUpgrade git-emailUpgrade git-guiUpgrade git-instawebUpgrade git-subtreeUpgrade git-svnUpgrade gitkUpgrade gitwebUpgrade perl-GitUpgrade perl-Git-SVN | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade gitUpgrade git-coreUpgrade git-core-debuginfoUpgrade git-credential-libsecretUpgrade git-credential-libsecret-debuginfoUpgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-debuginfoUpgrade git-debugsourceUpgrade git-subtree | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade gitUpgrade git-archUpgrade git-coreUpgrade git-credential-gnome-keyringUpgrade git-credential-libsecretUpgrade git-cvsUpgrade git-daemonUpgrade git-docUpgrade git-emailUpgrade git-guiUpgrade git-p4Upgrade git-svnUpgrade git-webUpgrade gitkUpgrade 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