CVE-2024-32002

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

Published May 14, 2024 CVSS 3.1 · 9.1 Critical EPSS 29.2% KEV · Not listed
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, 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3844-1 git security update
Debian DLA Debian DLA DLA-3867-1 git security update
Debian DSA Debian DSA DSA-5769-1 git security update
Ubuntu USN Ubuntu USN USN-6793-1 Git vulnerabilities
Ubuntu USN Ubuntu USN USN-6793-2 Git vulnerability
Ubuntu USN Ubuntu USN USN-7023-1 Git vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.79918}

epss

{'score': 0.81899}

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.0
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_aus:8.4
cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.4
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_tus:8.4
cpe:/a:redhat:rhel_tus:8.6
Vendors & Products Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Tus
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2025, 4:12 PM
Reserved
Apr 8, 2024, 1:48 PM
Status
Modified
Published
May 14, 2024, 7:15 PM
Modified
Jun 17, 2026, 7:29 AM
Severity
Important
Public date
May 14, 2024, 12:00 AM