Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are subject to exposure of sensitive information to a malicious actor. When performing a local clone (where the source and target of the clone are on the same volume), Git copies the contents of the source's `$GIT_DIR/objects` directory into the destination by either creating hardlinks to the source contents, or copying them (if hardlinks are disabled via `--no-hardlinks`). A malicious actor could convince a victim to clone a repository with a symbolic link pointing at sensitive information on the victim's machine. This can be done either by having the victim clone a malicious repository on the same machine, or having them clone a malicious repository embedded as a bare repository via a submodule from any source, provided they clone with the `--recurse-submodules` option. Git does not create symbolic links in the `$GIT_DIR/objects` directory. The problem has been patched in the versions published on 2022-10-18, and backported to v2.30.x. Potential workarounds: Avoid cloning untrusted repositories using the `--local` optimization when on a shared machine, either by passing the `--no-local` option to `git clone` or cloning from a URL that uses the `file://` scheme. Alternatively, avoid cloning repositories from untrusted sources with `--recurse-submodules` or run `git config --global protocol.file.allow user`.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade git-daemonUpgrade git-svnUpgrade git-allUpgrade git-credential-libsecretUpgrade gitUpgrade gitwebUpgrade perl-GitUpgrade perl-Git-SVNUpgrade git-guiUpgrade git-subtreeUpgrade git-emailUpgrade git-core-docUpgrade gitkUpgrade git-coreUpgrade git-instaweb | May 15, 2023 | Oct 19, 2022 |
| Alpine Linux | — | Upgrade docker-cli-composeUpgrade gitUpgrade docker | Mar 26, 2024 | Oct 19, 2022 |
| Amazon Linux Ami 2 | — | Upgrade gitUpgrade git-debuginfoUpgrade gitwebUpgrade git-core-docUpgrade gitkUpgrade git-cvsUpgrade git-p4Upgrade perl-Git-SVNUpgrade git-subtreeUpgrade git-emailUpgrade git-coreUpgrade git-guiUpgrade perl-GitUpgrade git-instawebUpgrade git-credential-libsecretUpgrade git-allUpgrade git-daemonUpgrade git-svn | Dec 7, 2022 | Oct 19, 2022 |
| Amazon_linux | — | Upgrade git | Dec 10, 2022 | Oct 19, 2022 |
| Amazon_linux_2023 | — | Upgrade git-svnUpgrade git-guiUpgrade git-instawebUpgrade git-subtreeUpgrade git-coreUpgrade git-daemonUpgrade perl-GitUpgrade git-core-debuginfoUpgrade perl-Git-SVNUpgrade git-credential-libsecret-debuginfoUpgrade git-emailUpgrade git-daemon-debuginfoUpgrade git-debugsourceUpgrade git-cvsUpgrade git-credential-libsecretUpgrade gitwebUpgrade git-p4Upgrade git-debuginfoUpgrade git-allUpgrade gitkUpgrade git-core-docUpgrade git | Feb 17, 2025 | Oct 18, 2022 |
| Centos_linux | — | Upgrade git-daemon-debuginfoUpgrade gitUpgrade git-debugsourceUpgrade git-svnUpgrade git-coreUpgrade gitwebUpgrade perl-Git-SVNUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade gitkUpgrade git-core-debuginfoUpgrade git-core-docUpgrade git-credential-libsecret-debuginfoUpgrade git-daemonUpgrade git-instawebUpgrade git-debuginfoUpgrade git-allUpgrade git-guiUpgrade git-emailUpgrade perl-Git | May 15, 2023 | Oct 19, 2022 |
| Debian | — | Upgrade git | Dec 15, 2022 | Oct 19, 2022 |
| Freebsd | — | Upgrade git-tinyUpgrade gitUpgrade git-lite | Nov 4, 2022 | Oct 18, 2022 |
| Gentoo Linux | — | Upgrade dev-vcs/git. | Dec 28, 2023 | Oct 19, 2022 |
| Huawei Euleros 2_0_sp10 | — | Upgrade gitUpgrade git-help | Feb 13, 2023 | Oct 19, 2022 |
| Huawei Euleros 2_0_sp11 | — | Upgrade git-helpUpgrade git | Jan 6, 2023 | Oct 19, 2022 |
| Huawei Euleros 2_0_sp5 | — | Upgrade git-coreUpgrade git-core-docUpgrade git | Mar 9, 2023 | Oct 19, 2022 |
| Huawei Euleros 2_0_sp9 | — | Upgrade git-helpUpgrade git | Jan 9, 2023 | Oct 19, 2022 |
| Microsoft Visual_studio | — | 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 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 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 current channel channel.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 | Nov 8, 2022 |
| Oracle_linux | — | Upgrade git-daemonUpgrade git-coreUpgrade git-instawebUpgrade git-guiUpgrade git-core-docUpgrade gitwebUpgrade git-allUpgrade perl-GitUpgrade git-emailUpgrade gitUpgrade gitkUpgrade git-credential-libsecretUpgrade git-subtreeUpgrade git-svnUpgrade perl-Git-SVN | Jul 22, 2024 | Oct 18, 2022 |
| Redhat_linux | — | Upgrade git-core-debuginfoUpgrade gitkNo solution existsUpgrade git-daemon-debuginfoUpgrade git-coreUpgrade perl-Git-SVNUpgrade gitwebUpgrade git-subtreeUpgrade git-instawebUpgrade git-guiUpgrade git-debugsourceUpgrade git-credential-libsecretUpgrade git-core-docUpgrade gitUpgrade git-daemonUpgrade perl-GitUpgrade git-debuginfoUpgrade git-svnUpgrade git-emailUpgrade git-allUpgrade git-credential-libsecret-debuginfo | May 15, 2023 | Oct 19, 2022 |
| Suse | — | Upgrade git-guiUpgrade git-coreUpgrade git-docUpgrade git-daemonUpgrade git-p4Upgrade git-credential-libsecretUpgrade gitkUpgrade git-svnUpgrade perl-gitUpgrade git-credential-gnome-keyringUpgrade git-archUpgrade git-emailUpgrade git-webUpgrade gitUpgrade git-cvs | Nov 11, 2022 | Oct 19, 2022 |
| Ubuntu | — | Upgrade gitUpgrade git (Ubuntu Pro) | Oct 19, 2022 | Oct 19, 2022 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Oct 19, 2022 |
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