Git is a revision control system. Using a specially-crafted repository, Git prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8 can be tricked into using its local clone optimization even when using a non-local transport. Though Git will abort local clones whose source `$GIT_DIR/objects` directory contains symbolic links, the `objects` directory itself may still be a symbolic link. These two may be combined to include arbitrary files based on known paths on the victim's filesystem within the malicious repository's working copy, allowing for data exfiltration in a similar manner as CVE-2022-39253.
A fix has been prepared and will appear in v2.39.2 v2.38.4 v2.37.6 v2.36.5 v2.35.7 v2.34.7 v2.33.7 v2.32.6, v2.31.7 and v2.30.8. If upgrading is impractical, two short-term workarounds are available. Avoid cloning repositories from untrusted sources with `--recurse-submodules`. Instead, consider cloning repositories without recursively cloning their submodules, and instead run `git submodule update` at each layer. Before doing so, inspect each new `.gitmodules` file to ensure that it does not contain suspicious module URLs.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade perl-GitUpgrade git-guiUpgrade git-allUpgrade git-emailUpgrade git-daemonUpgrade git-instawebUpgrade gitkUpgrade gitwebUpgrade git-credential-libsecretUpgrade git-coreUpgrade git-subtreeUpgrade git-svnUpgrade gitUpgrade perl-Git-SVNUpgrade git-core-doc | May 24, 2023 | Feb 14, 2023 |
| Alpine Linux | — | Upgrade git | Aug 22, 2024 | Feb 14, 2023 |
| Amazon Linux Ami 2 | — | Upgrade git-cvsUpgrade perl-Git-SVNUpgrade gitkUpgrade git-p4Upgrade gitUpgrade gitwebUpgrade git-core-docUpgrade git-debuginfoUpgrade git-subtreeUpgrade git-allUpgrade git-daemonUpgrade git-svnUpgrade git-emailUpgrade perl-GitUpgrade git-coreUpgrade git-credential-libsecretUpgrade git-guiUpgrade git-instaweb | Mar 7, 2023 | Feb 14, 2023 |
| Amazon_linux | — | Upgrade git | Mar 7, 2023 | Feb 14, 2023 |
| Amazon_linux_2023 | — | Upgrade git-debuginfoUpgrade git-instawebUpgrade git-core-debuginfoUpgrade perl-Git-SVNUpgrade git-emailUpgrade perl-GitUpgrade git-daemonUpgrade git-debugsourceUpgrade git-svnUpgrade git-cvsUpgrade git-coreUpgrade git-guiUpgrade git-subtreeUpgrade git-allUpgrade git-credential-libsecretUpgrade gitkUpgrade git-p4Upgrade git-core-docUpgrade gitwebUpgrade git-credential-libsecret-debuginfoUpgrade gitUpgrade git-daemon-debuginfo | Feb 17, 2025 | Feb 14, 2023 |
| Centos_linux | — | Upgrade git-emailUpgrade git-daemon-debuginfoUpgrade git-svnUpgrade git-debuginfoUpgrade git-subtreeUpgrade perl-Git-SVNUpgrade git-coreUpgrade perl-GitUpgrade git-credential-libsecret-debuginfoUpgrade git-core-debuginfoUpgrade git-daemonUpgrade git-guiUpgrade git-instawebUpgrade git-credential-libsecretUpgrade gitUpgrade git-debugsourceUpgrade git-core-docUpgrade git-allUpgrade gitkUpgrade gitweb | May 23, 2023 | Feb 14, 2023 |
| Debian | — | Upgrade git | Feb 24, 2023 | Feb 14, 2023 |
| Freebsd | — | Upgrade git | Feb 22, 2023 | Feb 21, 2023 |
| Gentoo Linux | — | Upgrade dev-vcs/git. | Dec 28, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp10 | — | Upgrade git-helpUpgrade git | May 18, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade git-helpUpgrade git | Jul 5, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp5 | — | Upgrade gitUpgrade git-coreUpgrade git-core-doc | Jun 9, 2023 | Feb 14, 2023 |
| Huawei Euleros 2_0_sp9 | — | Upgrade gitUpgrade git-help | May 10, 2023 | Feb 14, 2023 |
| Microsoft Visual_studio | — | Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.0 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.4 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2022 to the latest version in the LTSC 17.2 version stream, or upgrade to a newer supported version of Visual Studio 2022.Update Microsoft Visual Studio 2022 to the latest version in the current channel channel.Update Microsoft Visual Studio 2019 to the latest version in the LTSC 16.11 version stream, or upgrade to a newer supported version of Visual Studio 2019.Update Microsoft Visual Studio 2017 to the latest version in the LTSC 15.9 version stream, or upgrade to a newer supported version of Visual Studio 2017. | Jun 25, 2025 | Mar 14, 2023 |
| Oracle_linux | — | Upgrade git-svnUpgrade git-subtreeUpgrade perl-Git-SVNUpgrade git-instawebUpgrade git-guiUpgrade git-coreUpgrade git-credential-libsecretUpgrade git-daemonUpgrade perl-GitUpgrade gitwebUpgrade gitUpgrade gitkUpgrade git-core-docUpgrade git-allUpgrade git-email | May 23, 2023 | Feb 14, 2023 |
| Redhat_linux | — | Upgrade git-svnUpgrade git-coreUpgrade git-emailUpgrade git-debuginfoUpgrade git-allUpgrade git-subtreeUpgrade gitUpgrade perl-GitUpgrade git-credential-libsecret-debuginfoUpgrade git-core-docUpgrade git-credential-libsecretUpgrade perl-Git-SVNUpgrade git-debugsourceUpgrade gitkUpgrade gitwebUpgrade git-instawebUpgrade git-guiNo solution existsUpgrade git-daemonUpgrade git-daemon-debuginfoUpgrade git-core-debuginfo | May 23, 2023 | Feb 14, 2023 |
| Rocky_linux | — | Upgrade git-debuginfoUpgrade git-daemonUpgrade git-core-debuginfoUpgrade git-daemon-debuginfoUpgrade git-debugsourceUpgrade git-subtreeUpgrade git-coreUpgrade gitUpgrade git-credential-libsecretUpgrade git-credential-libsecret-debuginfo | Mar 5, 2024 | Feb 14, 2023 |
| Suse | — | Upgrade gitUpgrade git-emailUpgrade gitkUpgrade git-cvsUpgrade git-credential-gnome-keyringUpgrade git-archUpgrade git-p4Upgrade git-daemonUpgrade git-credential-libsecretUpgrade git-docUpgrade git-coreUpgrade git-svnUpgrade git-guiUpgrade perl-GitUpgrade git-web | Feb 16, 2023 | Feb 14, 2023 |
| Ubuntu | — | Upgrade git (Ubuntu Pro)Upgrade git | Mar 22, 2023 | Feb 14, 2023 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 25, 2025 | Feb 14, 2023 |
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