CVE-2024-32020
published low CVSS 3.1 · 3.9Cloning local Git repository by untrusted user allows the untrusted user to modify objects in the cloned repository at will
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 | — | git0 to < 2.39.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git2.45.0 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| git | — | git2.44.0 · 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.43 to < 2.43.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| 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 |
| 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 |
| 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 |
| AlmaLinux | 9 | git-email | Advisory build | 2.43.5-1.el9_4 | ALSA-2024:4083 |
| AlmaLinux | 9 | git-gui | 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. 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, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local repositories will cause Git to either copy or hardlink files of the source repository into the target repository. This significantly speeds up such local clones compared to doing a "proper" clone and saves both disk space and compute time. When cloning a repository located on the same disk that is owned by a different user than the current user we also end up creating such hardlinks. These files will continue to be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the future. 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.
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
- 3.9 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L
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 | 0 to < 2.39.4 (affected · custom)Default: unknown | CISA-ADP · adp |
| 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 |
Weaknesses
1- CWE-281 CWE-281: Improper Preservation of Permissions
References
5- http://www.openwall.com/lists/oss-security/2024/05/14/2
- https://github.com/git/git/commit/1204e1a824c34071019fe106348eaa6d88f9528d
- https://github.com/git/git/commit/9e65df5eab274bf74c7b570107aacd1303a1e703
- https://github.com/git/git/security/advisories/GHSA-5rfh-556j-fhgj
- https://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/
Provider assertions
3GitHub_M · cna
Cloning local Git repository by untrusted user allows the untrusted user to modify objects in the cloned repository at will
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3196eb1b459e0e46e88e6fba5a30621a0d04335b34e0875fda2e5c01af92462a
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record