CVE-2024-32004
Git-Scm Git ≤ 2.39.4
Raw vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HSummary
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
- 🇪🇺 ENISA EUVD: EUVD-2024-29844
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
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 8 hardening rules · 6 OS baselines
—
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.
Explicitly prevents execution of unauthorized software, directly blocking untrusted commands or libraries.
Assessing authenticity/integrity before acquisition reduces use of untrusted sources for commands/libraries.
Hardened configuration baselines can enforce trusted paths and execution policies.
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.
Security testing can detect unsafe process or library loading but does not prevent it by itself.
Restricting software installation prevents loading untrusted libraries or executing commands from unknown sources.
Secure development lifecycle practices include controls on external code and command execution paths.
Application security requirements can mandate validation of external inputs and libraries.
Secure architecture principles discourage reliance on untrusted external processes or libraries.
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