CVE-2024-32002
published critical CVSS 3.1 · 9.1Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
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 to < 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 to < 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 to < 2.40.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git0 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.31.8-3.el8_6 | RHSA-2024:6027 |
| 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 | gitaarch64 | Advisory build | 2.39.5-1.el8_8 | RHSA-2024:4579 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.43.5-1.el8_10 | RHSA-2024:4084 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.27.0-5.el8_4 | RHSA-2024:6028 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.31.8-3.el8_6 | RHSA-2024:6027 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.39.5-1.el8_8 | RHSA-2024:4579 |
| 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.31.8-3.el8_6 | RHSA-2024:6027 |
| Red Hat Enterprise Linux | RHEL-8 | gits390x | Advisory build | 2.39.5-1.el8_8 | RHSA-2024:4579 |
| 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.27.0-5.el8_4 | RHSA-2024:6028 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.31.8-3.el8_6 | RHSA-2024:6027 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.39.5-1.el8_8 | RHSA-2024:4579 |
| 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.27.0-5.el8_4 | RHSA-2024:6028 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.31.8-3.el8_6 | RHSA-2024:6027 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.39.5-1.el8_8 | RHSA-2024:4579 |
| 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.31.1-6.el9_0 | RHSA-2024:6610 |
| 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.31.1-6.el9_0 | RHSA-2024:6610 |
| 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.31.1-6.el9_0 | RHSA-2024:6610 |
| 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.31.1-6.el9_0 | RHSA-2024:6610 |
| 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.31.1-6.el9_0 | RHSA-2024:6610 |
| 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.13 | USN-6793-2 |
| 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 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in a way that exploits a bug in Git whereby it can be fooled into writing files not into the submodule's worktree but into a `.git/` directory. This allows writing a hook that will be executed while the clone operation is still running, giving the user no opportunity to inspect the code that is being executed. 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. If symbolic link support is disabled in Git (e.g. via `git config --global core.symlinks false`), the described attack won't work. As always, it is best to avoid cloning repositories 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
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/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 to < 2.43.4 (affected · custom)Default: unknown | CISA-ADP · adp |
| git | git | 2.42.0 to < 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 to < 2.40.2 (affected · custom)Default: unknown | CISA-ADP · adp |
| git | git | 0 to < 2.39.4 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
8- http://www.openwall.com/lists/oss-security/2024/05/14/2
- https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---recurse-submodulesltpathspecgt
- https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresymlinks
- https://github.com/git/git/commit/97065761333fd62db1912d81b489db938d8c991d
- https://github.com/git/git/security/advisories/GHSA-8h77-4q3w-gfgv
- 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 recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6bc04d021c02c586cf3765d98e0f1a267281d010f21baf2af1346a998db1fd85
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record