CVE-2024-32004
published high CVSS 3.1 · 8.2Git vulnerable to Remote Code Execution while cloning special-crafted local repositories
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 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.18.4-5.el8_2 | RHSA-2024:7701 |
| 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.18.4-5.el8_2 | RHSA-2024:7701 |
| 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.12 | USN-6793-1 |
| Ubuntu | jammy | git | Advisory build | 1:2.34.1-1ubuntu1.11 | USN-6793-1 |
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, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. 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 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
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/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.0 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
1- CWE-114 CWE-114: Process Control
References
7- http://www.openwall.com/lists/oss-security/2024/05/14/2
- https://git-scm.com/docs/git-clone
- https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8
- https://github.com/git/git/security/advisories/GHSA-xfc6-vwr8-r389
- 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 vulnerable to Remote Code Execution while cloning special-crafted local repositories
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4ee829a98606752e8f72ba3151047022a7a6dd53db4e696ccc9f5199e8123708
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record