Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-local` to obtain a clean copy. Git has specific protections to make that a safe operation even with an untrusted source repository, but vulnerabilities allow those protections to be bypassed. In the context of cloning local repositories owned by other users, this vulnerability has been covered in CVE-2024-32004. But there are circumstances where the fixes for CVE-2024-32004 are not enough: For example, when obtaining a `.zip` file containing a full copy of a Git repository, it should not be trusted by default to be safe, as e.g. hooks could be configured to run within the context of that repository. 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. As a workaround, avoid using Git in repositories that have been obtained via archives from untrusted sources.
CVSS Details
- CVSS 3.1 Base Score: 7.3
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade perl-Git-SVNUpgrade git-subtreeUpgrade git-credential-libsecretUpgrade gitUpgrade git-svnUpgrade git-daemonUpgrade git-emailUpgrade git-coreUpgrade gitkUpgrade gitwebUpgrade perl-GitUpgrade git-guiUpgrade git-instawebUpgrade 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 perl-Git-SVNUpgrade git-debuginfoUpgrade git-guiUpgrade git-instawebUpgrade git-core-docUpgrade git-p4Upgrade git-emailUpgrade git-subtreeUpgrade gitkUpgrade perl-GitUpgrade gitUpgrade git-allUpgrade git-credential-libsecretUpgrade git-daemonUpgrade gitwebUpgrade git-svnUpgrade git-cvsUpgrade git-core | May 31, 2024 | May 14, 2024 |
| Amazon_linux | — | Upgrade git | May 31, 2024 | May 14, 2024 |
| Amazon_linux_2023 | — | Upgrade gitwebUpgrade git-core-docUpgrade git-debugsourceUpgrade perl-GitUpgrade git-allUpgrade git-svnUpgrade git-coreUpgrade git-daemon-debuginfoUpgrade git-guiUpgrade perl-Git-SVNUpgrade git-instawebUpgrade git-p4Upgrade git-credential-libsecretUpgrade git-subtreeUpgrade git-cvsUpgrade git-core-debuginfoUpgrade git-emailUpgrade git-credential-libsecret-debuginfoUpgrade gitUpgrade gitkUpgrade git-daemonUpgrade git-debuginfo | 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 git-helpUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp12 | — | Upgrade git-coreUpgrade git-helpUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Huawei Euleros 2_0_sp9 | — | Upgrade git-helpUpgrade git | Oct 8, 2024 | May 14, 2024 |
| Oracle_linux | — | Upgrade git-subtreeUpgrade git-daemonUpgrade git-emailUpgrade git-core-docUpgrade gitUpgrade git-credential-libsecretUpgrade perl-Git-SVNUpgrade perl-GitUpgrade git-guiUpgrade git-svnUpgrade git-instawebUpgrade git-coreUpgrade gitwebUpgrade git-allUpgrade gitk | Jun 25, 2024 | May 14, 2024 |
| Redhat_linux | — | Upgrade git-svnUpgrade perl-GitUpgrade git-daemonUpgrade perl-Git-SVNUpgrade git-coreNo solution existsUpgrade git-subtreeUpgrade git-guiUpgrade git-instawebUpgrade git-emailUpgrade git-credential-libsecret-debuginfoUpgrade git-core-debuginfoUpgrade git-debuginfoUpgrade gitkUpgrade git-debugsourceUpgrade git-daemon-debuginfoUpgrade git-allUpgrade gitUpgrade git-core-docUpgrade gitwebUpgrade git-credential-libsecret | Jun 26, 2024 | May 14, 2024 |
| Rocky_linux | — | Upgrade git-debuginfoUpgrade git-core-debuginfoUpgrade git-debugsourceUpgrade git-subtreeUpgrade git-daemon-debuginfoUpgrade gitUpgrade git-daemonUpgrade git-credential-libsecretUpgrade git-credential-libsecret-debuginfoUpgrade git-core | Jul 3, 2024 | May 14, 2024 |
| Suse | — | Upgrade git-daemonUpgrade git-credential-libsecretUpgrade git-svnUpgrade git-coreUpgrade git-guiUpgrade git-docUpgrade gitkUpgrade git-p4Upgrade git-credential-gnome-keyringUpgrade git-cvsUpgrade gitUpgrade git-emailUpgrade git-webUpgrade perl-GitUpgrade 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 |
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