cbcvebase.
CVE-2024-32020
published 2024-05-14

CVE-2024-32020: 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…

PriorityP412low3.3CVSS 3.1
AVLACLPRNUIRSUCNILAN
EPSS
0.52%
40.2th percentile
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.

Affected

32 ranges· showing 25
VendorProductVersion rangeFixed in
debiangit< git 1:2.39.5-0+deb12u1 (bookworm)git 1:2.39.5-0+deb12u1 (bookworm)
fedoraprojectfedora
git-scmgit< 2.39.42.39.4
git-scmgit
git-scmgit
git-scmgit
git-scmgit>= 2.40.0 < 2.40.22.40.2
git-scmgit>= 2.42.0 < 2.42.22.42.2
git-scmgit>= 2.43.0 < 2.43.42.43.4
gitgit< 2.39.42.39.4
gitgit
gitgit
gitgit
gitgit
gitgit
gitgit
gitgit>= 0 < 1:2.39.5-0+deb12u11:2.39.5-0+deb12u1
gitgit>= 0 < 1:2.45.1-11:2.45.1-1
gitgit>= 0 < 1:2.45.1-11:2.45.1-1
gitgit>= 0 < 1:2.25.1-1ubuntu3.121:2.25.1-1ubuntu3.12
gitgit>= 0 < 1:2.34.1-1ubuntu1.111:2.34.1-1ubuntu1.11
gitgit>= 0 < 1:2.43.0-1ubuntu7.11:2.43.0-1ubuntu7.1
gitgit>= 0 < 1:2.7.4-0ubuntu1.10+esm81:2.7.4-0ubuntu1.10+esm8
gitgit>= 0 < 1:2.17.1-1ubuntu0.18+esm11:2.17.1-1ubuntu0.18+esm1
msrcazl3_git_2.42.0-2_on_azure_linux_3.0

CVSS provenance

nvdv3.13.3LOWCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
osv9.0CRITICAL
vendor_ubuntu9.0CRITICAL
vendor_debian3.9LOW
vendor_msrc3.9LOW
vendor_redhat3.9LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.