Skip to content
Fencer Vulns
critical 9.1

CVE-2024-32002 in the critical feed json

Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution

published 2024-05-14 2 y ago modified 2026-09-08 2 mo ago also BIT-git-2024-32002 , EUVD-2024-29843 , GHSA-8h77-4q3w-gfgv

cvss
9.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
29.2%
EPSS 29.2% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami git 2.39.4, 2.40.2, 2.41.1, 2.42.2, 2.43.4, 2.44.1, 2.45.1
  • git git 2.39.4, 2.40.2, 2.42.2, 2.43.4
  • git Debian 12 1:2.39.5-0+deb12u1
  • git Debian 14, Debian 13 1:2.45.1-1

debian advisories DEBIAN-CVE-2024-32002

  • git Ubuntu 20.04 LTS 1:2.25.1-1ubuntu3.13
  • git Ubuntu 22.04 LTS 1:2.34.1-1ubuntu1.11
  • git Ubuntu 24.04 LTS 1:2.43.0-1ubuntu7.1
  • git Ubuntu Pro 18.04 LTS 1:2.17.1-1ubuntu0.18+esm1

ubuntu advisories UBUNTU-CVE-2024-32002

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • git RHEL 8 2.43.5-1.el8_10
  • gitk RHEL 8 2.43.5-1.el8_10
  • gitweb RHEL 8 2.43.5-1.el8_10
  • git-all RHEL 8 2.43.5-1.el8_10
  • git-gui RHEL 8 2.43.5-1.el8_10
  • git-svn RHEL 8 2.43.5-1.el8_10
  • git-core RHEL 8 2.43.5-1.el8_10
  • perl-Git RHEL 8 2.43.5-1.el8_10

red hat advisories RHSA-2024:6610RHSA-2024:6028RHSA-2024:6027RHSA-2024:4579RHSA-2024:4368RHSA-2024:4084

  • git Linux Micro 6.0 2.45.1-1.1
  • git SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 2.43.0-150600.3.3.1
  • git SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +11 more 2.35.3-150300.10.39.1
  • git SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.26.2-27.78.1
  • git SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS 2.26.2-150000.56.1

suse advisories SUSE-SU-2025:20049-1SUSE-SU-2025:0197-1SUSE-SU-2024:2277-1SUSE-SU-2024:1854-1SUSE-SU-2024:1807-2SUSE-SU-2024:1807-1

  • git openSUSE Tumbleweed 2.45.1-1.1

opensuse advisories openSUSE-SU-2024:13968-1

  • git AlmaLinux 9 2.43.5-1.el9_4
  • gitk AlmaLinux 9 2.43.5-1.el9_4
  • gitweb AlmaLinux 9 2.43.5-1.el9_4
  • git-all AlmaLinux 9 2.43.5-1.el9_4
  • git-gui AlmaLinux 9 2.43.5-1.el9_4
  • git-svn AlmaLinux 9 2.43.5-1.el9_4
  • git-core AlmaLinux 9 2.43.5-1.el9_4
  • perl-Git AlmaLinux 9 2.43.5-1.el9_4

almalinux advisories ALSA-2024:4083ALSA-2024:4084

  • git Rocky Linux 9 2.43.5-1.el9_4
  • git Rocky Linux 8 2.43.5-1.el8_10

rocky linux advisories RLSA-2024:4083RLSA-2024:4084

  • git Alpine 3.17 2.39.5-r0
  • git Alpine 3.18 2.40.3-r0
  • git Alpine 3.19 2.43.4-r0
  • git Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 2.45.1-r0

alpine advisories ALPINE-CVE-2024-32002

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • git CBL-Mariner 2.0 2.39.4-1
  • git Azure Linux 3.0 2.45.2-1

azure linux advisories AZL-42040AZL-43038

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-32002 updated cvss 9.0

git: Recursive clones RCE

  • Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 git, gitk, git-hg, git-p4, gitweb, git-all, +12 more Red Hat Fuse 7 git
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Software Collections rh-git227-git, rh-git227-gitk, rh-git227-git-p4, rh-git227-gitweb, rh-git227-git-all, rh-git227-git-cvs, +10 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) git 2.43.5-1.el8_10, gitk 2.43.5-1.el8_10, gitweb 2.43.5-1.el8_10, git-all 2.43.5-1.el8_10, git-gui 2.43.5-1.el8_10, git-svn 2.43.5-1.el8_10, +8 more
    fixed: vendor fix RHSA-2024:4084
  • Red Hat Enterprise Linux AppStream (v. 9) git 2.43.5-1.el9_4, gitk 2.43.5-1.el9_4, gitweb 2.43.5-1.el9_4, git-all 2.43.5-1.el9_4, git-gui 2.43.5-1.el9_4, git-svn 2.43.5-1.el9_4, +8 more
    fixed: vendor fix RHSA-2024:4083
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) git 2.27.0-5.el8_4, gitk 2.27.0-5.el8_4, gitweb 2.27.0-5.el8_4, git-all 2.27.0-5.el8_4, git-gui 2.27.0-5.el8_4, git-svn 2.27.0-5.el8_4, +8 more
    fixed: vendor fix RHSA-2024:6028
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) git 2.31.8-3.el8_6, gitk 2.31.8-3.el8_6, gitweb 2.31.8-3.el8_6, git-all 2.31.8-3.el8_6, git-gui 2.31.8-3.el8_6, git-svn 2.31.8-3.el8_6, +8 more
    fixed: vendor fix RHSA-2024:6027
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) git 2.27.0-5.el8_4, gitk 2.27.0-5.el8_4, gitweb 2.27.0-5.el8_4, git-all 2.27.0-5.el8_4, git-gui 2.27.0-5.el8_4, git-svn 2.27.0-5.el8_4, +8 more
    fixed: vendor fix RHSA-2024:6028
show 7 more
  • Red Hat Enterprise Linux AppStream E4S (v.8.6) git 2.31.8-3.el8_6, gitk 2.31.8-3.el8_6, gitweb 2.31.8-3.el8_6, git-all 2.31.8-3.el8_6, git-gui 2.31.8-3.el8_6, git-svn 2.31.8-3.el8_6, +8 more
    fixed: vendor fix RHSA-2024:6027
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) git 2.31.1-6.el9_0, gitk 2.31.1-6.el9_0, gitweb 2.31.1-6.el9_0, git-all 2.31.1-6.el9_0, git-gui 2.31.1-6.el9_0, git-svn 2.31.1-6.el9_0, +8 more
    fixed: vendor fix RHSA-2024:6610
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) git 2.39.5-1.el8_8, gitk 2.39.5-1.el8_8, gitweb 2.39.5-1.el8_8, git-all 2.39.5-1.el8_8, git-gui 2.39.5-1.el8_8, git-svn 2.39.5-1.el8_8, +8 more
    fixed: vendor fix RHSA-2024:4579
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) git 2.39.5-1.el9_2, gitk 2.39.5-1.el9_2, gitweb 2.39.5-1.el9_2, git-all 2.39.5-1.el9_2, git-gui 2.39.5-1.el9_2, git-svn 2.39.5-1.el9_2, +8 more
    fixed: vendor fix RHSA-2024:4368
  • Red Hat Enterprise Linux AppStream TUS (v.8.4) git 2.27.0-5.el8_4, gitk 2.27.0-5.el8_4, gitweb 2.27.0-5.el8_4, git-all 2.27.0-5.el8_4, git-gui 2.27.0-5.el8_4, git-svn 2.27.0-5.el8_4, +8 more
    fixed: vendor fix RHSA-2024:6028
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) git 2.31.8-3.el8_6, gitk 2.31.8-3.el8_6, gitweb 2.31.8-3.el8_6, git-all 2.31.8-3.el8_6, git-gui 2.31.8-3.el8_6, git-svn 2.31.8-3.el8_6, +8 more
    fixed: vendor fix RHSA-2024:6027
  • Red Hat Enterprise Linux 10 git
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

29.23% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 9.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV 3.1 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami git
<2.39.4
>=2.40.0, <2.40.2
>=2.41.0, <2.41.1
>=2.42.0, <2.42.2
>=2.43.0, <2.43.4
>=2.44.0, <2.44.1
>=2.45.0, <2.45.1
2.39.4
2.40.2
2.41.1
2.42.2
2.43.4
2.44.1
2.45.1

Affected products

  • git git

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-59 Improper Link Resolution Before File Access

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.