CVE-2024-32465
published high CVSS 3.1 · 7.4Git's protections for cloning untrusted repositories can be bypassed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| git | — | git= 2.45.0 · = 2.44.0 · >= 2.43.0, < 2.43.4 · >= 2.42.0, < 2.42.2 · = 2.41.0 · >= 2.40.0, < 2.40.2 · < 2.39.4 | Affected | Not stated | GitHub_M |
| git | — | git2.45.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git2.44.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git2.43.0 through 2.43.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2548 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-623 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | git | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| Alpine Linux | edge | git | Fixed | 2.45.1-r0 | Package fix record |
Show 102 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| git | — | git2.42.0 through 2.42.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git2.41.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git2.40.0 through 2.40.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git2.39.4* to < 2.39.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Debian | bookworm | git | Advisory build | 1:2.39.5-0+deb12u1 | DSA-5769-1 |
| Oracle Linux | 8 | gitaarch64 | Advisory build | 0:2.43.5-1.el8_10 | ELSA-2024-4084 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.43.5-1.el8_10 | RHSA-2024:4084 |
| SUSE / openSUSE | SLE-12-SP5 | gitaarch64 | Advisory build | 2.26.2-27.78.1 | SUSE-SU-2025:0197-1 |
| Ubuntu | bionic | git | Advisory build | 1:2.17.1-1ubuntu0.18+esm1 | USN-7023-1 |
| AlmaLinux | 9 | git | Advisory build | 2.43.5-1.el9_4 | ALSA-2024:4083 |
| Alpine Linux | v3.17 | git | Fixed | 2.39.5-r0 | Package fix record |
| Alpine Linux | v3.18 | git | Fixed | 2.40.3-r0 | Package fix record |
| Alpine Linux | v3.19 | git | Fixed | 2.43.4-r0 | Package fix record |
| Alpine Linux | v3.20 | git | Fixed | 2.45.1-r0 | Package fix record |
| Alpine Linux | v3.21 | git | Fixed | 2.45.1-r0 | Package fix record |
| Alpine Linux | v3.22 | git | Fixed | 2.45.1-r0 | Package fix record |
| Alpine Linux | v3.23 | git | Fixed | 2.45.1-r0 | Package fix record |
| Alpine Linux | v3.24 | git | Fixed | 2.45.1-r0 | Package fix record |
| Debian | bullseye | git | Advisory build | 1:2.30.2-1+deb11u3 | DLA-3867-1 |
| Debian | buster | git | Advisory build | 1:2.20.1-2+deb10u9 | DLA-3844-1 |
| Oracle Linux | 8 | gitx86_64 | Advisory build | 0:2.43.5-1.el8_10 | ELSA-2024-4084 |
| Oracle Linux | 9 | gitaarch64 | Advisory build | 0:2.43.5-1.el9_4 | ELSA-2024-4083 |
| Oracle Linux | 9 | gitx86_64 | Advisory build | 0:2.43.5-1.el9_4 | ELSA-2024-4083 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.43.5-1.el8_10 | RHSA-2024:4084 |
| Red Hat Enterprise Linux | RHEL-8 | gits390x | Advisory build | 2.43.5-1.el8_10 | RHSA-2024:4084 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.43.5-1.el8_10 | RHSA-2024:4084 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.43.5-1.el8_10 | RHSA-2024:4084 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.39.5-1.el9_2 | RHSA-2024:4368 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.43.5-1.el9_4 | RHSA-2024:4083 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.39.5-1.el9_2 | RHSA-2024:4368 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.43.5-1.el9_4 | RHSA-2024:4083 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.39.5-1.el9_2 | RHSA-2024:4368 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.43.5-1.el9_4 | RHSA-2024:4083 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.39.5-1.el9_2 | RHSA-2024:4368 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.43.5-1.el9_4 | RHSA-2024:4083 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.39.5-1.el9_2 | RHSA-2024:4368 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.43.5-1.el9_4 | RHSA-2024:4083 |
| SUSE / openSUSE | SLE-12-SP5 | gitppc64le | Advisory build | 2.26.2-27.78.1 | SUSE-SU-2025:0197-1 |
| SUSE / openSUSE | SLE-12-SP5 | gits390x | Advisory build | 2.26.2-27.78.1 | SUSE-SU-2025:0197-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitx86_64 | Advisory build | 2.26.2-27.78.1 | SUSE-SU-2025:0197-1 |
| SUSE / openSUSE | SLE-15-SP2 | gitaarch64 | Advisory build | 2.26.2-150000.56.1 | SUSE-SU-2024:1854-1 |
| SUSE / openSUSE | SLE-15-SP2 | gitppc64le | Advisory build | 2.26.2-150000.56.1 | SUSE-SU-2024:1854-1 |
| SUSE / openSUSE | SLE-15-SP2 | gits390x | Advisory build | 2.26.2-150000.56.1 | SUSE-SU-2024:1854-1 |
| SUSE / openSUSE | SLE-15-SP2 | gitx86_64 | Advisory build | 2.26.2-150000.56.1 | SUSE-SU-2024:1854-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitaarch64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitppc64le | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP3 | gits390x | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitx86_64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitaarch64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitppc64le | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP4 | gits390x | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitx86_64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP5 | gitaarch64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP5 | gitppc64le | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP5 | gits390x | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP5 | gitx86_64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-15-SP6 | gitaarch64 | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | SLE-15-SP6 | gitppc64le | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | SLE-15-SP6 | gits390x | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | SLE-15-SP6 | gitx86_64 | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | SLE-5 | gitaarch64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-5 | gitaarch64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-2 |
| SUSE / openSUSE | SLE-5 | gitppc64le | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-5 | gitppc64le | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-2 |
| SUSE / openSUSE | SLE-5 | gits390x | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-5 | gits390x | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-2 |
| SUSE / openSUSE | SLE-5 | gitx86_64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | SLE-5 | gitx86_64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-2 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gitaarch64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gitppc64le | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gits390x | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | gitx86_64 | Advisory build | 2.35.3-150300.10.39.1 | SUSE-SU-2024:1807-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gitaarch64 | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gitppc64le | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gits390x | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gitx86_64 | Advisory build | 2.43.0-150600.3.3.1 | SUSE-SU-2024:2277-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitaarch64 | Advisory build | 2.45.1-1.1 | OPENSUSE-SU-2024:13968-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitppc64le | Advisory build | 2.45.1-1.1 | OPENSUSE-SU-2024:13968-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gits390x | Advisory build | 2.45.1-1.1 | OPENSUSE-SU-2024:13968-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitx86_64 | Advisory build | 2.45.1-1.1 | OPENSUSE-SU-2024:13968-1 |
| Ubuntu | focal | git | Advisory build | 1:2.25.1-1ubuntu3.12 | USN-6793-1 |
| Ubuntu | jammy | git | Advisory build | 1:2.34.1-1ubuntu1.11 | USN-6793-1 |
| Ubuntu | noble | git | Advisory build | 1:2.43.0-1ubuntu7.1 | USN-6793-1 |
| AlmaLinux | 8 | git-all | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-core | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-core-doc | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-credential-libsecret | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-daemon | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-email | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-gui | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-instaweb | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-subtree | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | git-svn | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | gitk | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | gitweb | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | perl-Git | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 8 | perl-Git-SVN | Advisory build | 2.43.5-1.el8_10 | ALSA-2024:4084 |
| AlmaLinux | 9 | git-all | Advisory build | 2.43.5-1.el9_4 | ALSA-2024:4083 |
| AlmaLinux | 9 | git-core | Advisory build | 2.43.5-1.el9_4 | ALSA-2024:4083 |
| AlmaLinux | 9 | git-core-doc | Advisory build | 2.43.5-1.el9_4 | ALSA-2024:4083 |
| AlmaLinux | 9 | git-credential-libsecret | Advisory build | 2.43.5-1.el9_4 | ALSA-2024:4083 |
| AlmaLinux | 9 | git-daemon | Advisory build | 2.43.5-1.el9_4 | ALSA-2024:4083 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| git | git | = 2.45.0 (affected)= 2.44.0 (affected)>= 2.43.0, < 2.43.4 (affected)>= 2.42.0, < 2.42.2 (affected)= 2.41.0 (affected)>= 2.40.0, < 2.40.2 (affected)< 2.39.4 (affected) | GitHub_M · cna |
| git | git | 2.45.0 (affected)Default: unknown | CISA-ADP · adp |
| git | git | 2.44.0 (affected)Default: unknown | CISA-ADP · adp |
| git | git | 2.43.0 through 2.43.4 (affected · custom)Default: unknown | CISA-ADP · adp |
| git | git | 2.42.0 through 2.42.2 (affected · custom)Default: unknown | CISA-ADP · adp |
| git | git | 2.41.0 (affected)Default: unknown | CISA-ADP · adp |
| git | git | 2.40.0 through 2.40.2 (affected · custom)Default: unknown | CISA-ADP · adp |
| git | git | 2.39.4* to < 2.39.4 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
8- http://www.openwall.com/lists/oss-security/2024/05/14/2
- https://git-scm.com/docs/git#_security
- https://git-scm.com/docs/git-clone
- https://github.com/git/git/commit/7b70e9efb18c2cc3f219af399bd384c5801ba1d7
- https://github.com/git/git/security/advisories/GHSA-vm9j-46j9-qvq4
- https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
- https://lists.debian.org/debian-lts-announce/2024/09/msg00009.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/
Provider assertions
3GitHub_M · cna
Git's protections for cloning untrusted repositories can be bypassed
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 99cb65e0cb291e60841bdf31e8430550d50960cc304fb814c4896e2b25bbb669
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record