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