Cyber Resilience

CVE-2024-32004

Git-Scm Git ≤ 2.39.4

Published
14 May 2024
Modified
06 January 2026
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.014 69th percentile
Risk Priority 65 floored blend · peak EPSS

Summary

CVE-2024-32004 is a high-severity Process Control (CWE-114) vulnerability in Git-Scm Git. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Shared Modules (T1129); ranked in the top 31% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to CM-7 (Least Functionality) and SC-18 (Mobile Code) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Git is a widely used revision control system affected by CVE-2024-32004, a vulnerability present in all versions prior to 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. The flaw allows an attacker to craft a local repository such that cloning it triggers execution of arbitrary code on the victim's system during the clone operation itself. It is tracked under CWE-114 and carries a CVSS 3.1 score of 8.1 reflecting local attack vector, high complexity, no privileges or user interaction required, and changed scope with high impact on confidentiality, integrity, and availability.

An attacker who controls or can influence a repository can prepare it to exploit the issue; any user who subsequently clones that repository will execute the attacker's code in the context of the clone process. Because the attack requires the victim to initiate a clone from the malicious source, it is most relevant in environments where developers or automated systems fetch repositories from untrusted or attacker-controlled locations.

Official patches addressing the root cause were released in the listed Git versions, and the Git project advisory along with downstream distributions such as Debian recommend avoiding clones from untrusted sources as an immediate workaround. The referenced Git commit and security advisory provide the specific remediation details.

EPSS for this CVE rose from a low baseline to a peak of 0.0664 on 2025-12-11 before receding to the current value of 0.0244, indicating that exploitation interest increased well after initial disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem…

more

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. As a workaround, avoid cloning repositories from untrusted sources.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1129 Shared Modules Execution
Adversaries may execute malicious payloads via loading shared modules.
T1505.005 Terminal Services DLL Persistence
Adversaries may abuse components of Terminal Services to enable persistent access to systems.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
T1574.001 DLL Stealth
Adversaries may abuse dynamic-link library files (DLLs) in order to achieve persistence, escalate privileges, and evade defenses.
T1574.004 Dylib Hijacking Stealth
Adversaries may execute their own payloads by placing a malicious dynamic library (dylib) with an expected name in a path a victim application searches at runtime.
T1574.006 Dynamic Linker Hijacking Stealth
Adversaries may execute their own malicious payloads by hijacking environment variables the dynamic linker uses to load shared libraries.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-32021Same product: Debian Debian Linux
CVE-2024-32465Same product: Debian Debian Linux
CVE-2023-29007Same product: Fedoraproject Fedora
CVE-2024-32020Same product: Fedoraproject Fedora
CVE-2023-25652Same product: Fedoraproject Fedora
CVE-2024-56346Shared CWE-114
CVE-2025-46370Shared CWE-114
CVE-2025-1950Shared CWE-114
CVE-2025-23385Shared CWE-114
CVE-2024-25021Shared CWE-114

Affected Assets

git-scm
git
2.41.0, 2.44.0, 2.45.0 · ≤ 2.39.4 · 2.40.0 — 2.40.2 · 2.42.0 — 2.42.2
fedoraproject
fedora
40
debian
debian linux
10.0, 11.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 8 hardening rules · 6 OS baselines
Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

Least functionality directly restricts execution of commands or loading of libraries to only approved capabilities, stopping untrusted sources from being used.

Mobile code control explicitly defines and enforces acceptable sources and technologies for code/commands loaded at runtime.

Malicious code protection mechanisms block execution or loading of code from untrusted sources before it can run.

Policies and enforcement for user-installed software prevent introduction and execution of untrusted libraries or commands.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-05 mostly match
prevents

Explicitly prevents execution of unauthorized software, directly blocking untrusted commands or libraries.

ID.RA-09 partial match
prevents

Assessing authenticity/integrity before acquisition reduces use of untrusted sources for commands/libraries.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce trusted paths and execution policies.

PR.PS-06 partial match
prevents

Secure SDLC practices can embed checks against dynamic loading from untrusted sources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect unsafe process or library loading but does not prevent it by itself.

prevents

Restricting software installation prevents loading untrusted libraries or executing commands from unknown sources.

mitigates

Secure development lifecycle practices include controls on external code and command execution paths.

prevents

Application security requirements can mandate validation of external inputs and libraries.

prevents

Secure architecture principles discourage reliance on untrusted external processes or libraries.

prevents

Secure coding standards explicitly forbid executing or loading code from untrusted sources.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (3 rules)
  • V-248568 OL 8 system commands must be owned by root. prevents CWE-114
  • V-248567 OL 8 system commands must have mode 755 or less permissive. prevents CWE-114
  • V-248569 OL 8 system commands must be group-owned by root or a system account. prevents CWE-114
Windows 10 (1 rule)
  • V-220828 The default autorun behavior must be configured to prevent autorun commands. prevents CWE-114
Windows 11 (1 rule)
  • V-253387 The default autorun behavior must be configured to prevent autorun commands. prevents CWE-114
Windows Server 2016 (1 rule)
  • V-224933 The default AutoRun behavior must be configured to prevent AutoRun commands. prevents CWE-114
Windows Server 2019 (1 rule)
  • V-205805 Windows Server 2019 default AutoRun behavior must be configured to prevent AutoRun commands. prevents CWE-114
Windows Server 2022 (1 rule)
  • V-254353 Windows Server 2022 default AutoRun behavior must be configured to prevent AutoRun commands. prevents CWE-114

References