CVE catalog

CVE-2024-32021

Git vulnerabilities

[CVE catalog]

Severity
Low · CVSS 3.9CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
1.02% · Oct 25, 2026

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, when cloning a local source repository that contains symlinks via the filesystem, Git may create hardlinks to arbitrary user-readable files on the same filesystem as the target repository in the `objects/` directory. Cloning a local repository over the filesystem may creating hardlinks to arbitrary user-owned files on the same filesystem in the target Git repository's `objects/` directory. When cloning a repository over the filesystem (without explicitly specifying the `file://` protocol or `--no-local`), the optimizations for local cloning will be used, which include attempting to hard link the object files instead of copying them. While the code includes checks against symbolic links in the source repository, which were added during the fix for CVE-2022-39253, these checks can still be raced because the hard link operation ultimately follows symlinks. If the object on the filesystem appears as a file during the check, and then a symlink during the operation, this will allow the adversary to bypass the check and create hardlinks in the destination objects directory to arbitrary, user-readable files. 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangitsid1:2.55.0-1fixed
Debiangitforky1:2.53.0-1fixed
Debiangittrixie1:2.47.3-0+deb13u1fixed
Debiangitbookworm1:2.39.5-0+deb12u3fixed
Debiangitbookworm-security1:2.39.5-0+deb12u2fixed
Ubuntugitnoble1:2.39.5-0+deb12u1fixed
Ubuntugitnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-allnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-cvsnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-daemon-runnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-daemon-sysvinitnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-docnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-emailnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-guinoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-mannoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-mediawikinoble1:2.43.0-1ubuntu7.1fixed
Ubuntugit-svnnoble1:2.43.0-1ubuntu7.1fixed
Ubuntugitknoble1:2.43.0-1ubuntu7.1fixed
Ubuntugitwebnoble1:2.43.0-1ubuntu7.1fixed
Alpinegit3.172.39.5-r0fixed
Alpinegit3.182.40.3-r0fixed
Alpinegit3.192.43.4-r0fixed
Alpinegit3.202.45.1-r0fixed
Alpinegit3.212.45.1-r0fixed
Alpinegit3.222.45.1-r0fixed
Alpinegit3.232.45.1-r0fixed
Alpinegit3.242.45.1-r0fixed
Ubuntugitpro1:2.14.1-1ubuntu4vulnerable
Ubuntugitpro1:2.15.1-1ubuntu2vulnerable
Ubuntugitpro1:2.17.0-1ubuntu1vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.1vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.3vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.4vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.5vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.6vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.7vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.8vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.9vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.10vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.11vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.12vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.13vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.14vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.15vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.16vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.17vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.18vulnerable
Ubuntugitpro1:2.17.1-1ubuntu0.18+esm1fixed
Ubuntugit20.041:2.20.1-2ubuntu1vulnerable
Ubuntugit20.041:2.24.0-1ubuntu1vulnerable
Ubuntugit20.041:2.24.0-1ubuntu2vulnerable
Ubuntugit20.041:2.25.0-1ubuntu1vulnerable
Ubuntugit20.041:2.25.1-1ubuntu1vulnerable
Ubuntugit20.041:2.25.1-1ubuntu2vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.1vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.2vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.3vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.4vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.5vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.6vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.7vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.8vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.10vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.11vulnerable
Ubuntugit20.041:2.25.1-1ubuntu3.12fixed
Ubuntugit22.041:2.32.0-1ubuntu1vulnerable
Ubuntugit22.041:2.33.1-1ubuntu1vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.1vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.2vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.4vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.5vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.6vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.8vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.9vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.10vulnerable
Ubuntugit22.041:2.34.1-1ubuntu1.11fixed
Ubuntugit24.041:2.40.1-1ubuntu1vulnerable
Ubuntugit24.041:2.43.0-1ubuntu1vulnerable
Ubuntugit24.041:2.43.0-1ubuntu5vulnerable
Ubuntugit24.041:2.43.0-1ubuntu6vulnerable
Ubuntugit24.041:2.43.0-1ubuntu7vulnerable
Ubuntugit24.041:2.43.0-1ubuntu7.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangitsourcesid1:2.45.1-1not yet assignedNot reported[1071160]
Debiangitsourceforky1:2.45.1-1not yet assignedNot reported[1071160]
Debiangitsourcetrixie1:2.45.1-1not yet assignedNot reported[1071160]
Debiangitsourcebookworm1:2.39.5-0+deb12u1not yet assignedNot reported[1071160]
Ubuntugitdebnoble1:2.39.5-0+deb12u1Not reportedNot reportedNot reported
Ubuntugitdebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-alldebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-cvsdebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-daemon-rundebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-daemon-sysvinitdebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-docdebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-emaildebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-guidebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-mandebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-mediawikidebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugit-svndebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugitkdebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Ubuntugitwebdebnoble1:2.43.0-1ubuntu7.1Not reportedNot reportedNot reported
Alpinegitapk3.172.39.5-r0Not reportedALPINE-CVE-2024-32021Not reported
Alpinegitapk3.182.40.3-r0Not reportedALPINE-CVE-2024-32021Not reported
Alpinegitapk3.192.43.4-r0Not reportedALPINE-CVE-2024-32021Not reported
Alpinegitapk3.202.45.1-r0Not reportedALPINE-CVE-2024-32021Not reported
Alpinegitapk3.212.45.1-r0Not reportedALPINE-CVE-2024-32021Not reported
Alpinegitapk3.222.45.1-r0Not reportedALPINE-CVE-2024-32021Not reported
Alpinegitapk3.232.45.1-r0Not reportedALPINE-CVE-2024-32021Not reported
Alpinegitapk3.242.45.1-r0Not reportedALPINE-CVE-2024-32021Not reported
Ubuntugitdebpro1:2.17.1-1ubuntu0.18+esm1Not reportedUBUNTU-CVE-2024-32021Not reported
Ubuntugitdeb20.041:2.25.1-1ubuntu3.12Not reportedUBUNTU-CVE-2024-32021Not reported
Ubuntugitdeb22.041:2.34.1-1ubuntu1.11Not reportedUBUNTU-CVE-2024-32021Not reported
Ubuntugitdeb24.041:2.43.0-1ubuntu7.1Not reportedUBUNTU-CVE-2024-32021Not reported

[Debian bug #1071160]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References