CVE-2024-32004
vulnerability analysis and mitigation

Overview

CVE-2024-32004 is a security vulnerability in Git, a widely used revision control system. The vulnerability was discovered and disclosed on May 14, 2024, affecting multiple Git 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 issue allows an attacker to prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation (GitHub Advisory, NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 base score of 8.1 (High), with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H. The issue stems from insufficient ownership validation during local repository cloning operations. When cloning from somebody else's repositories, it is possible that commands like 'upload-pack' can be overridden in the repository that is about to be cloned, which would then be run in the user's context who started the clone (Git Commit).

Impact

The vulnerability allows an attacker to execute arbitrary code in the context of the user performing the clone operation. This can lead to complete system compromise within the user's permission level, affecting the confidentiality, integrity, and availability of the system (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Git 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, users are advised to avoid cloning repositories from untrusted sources. Multiple Linux distributions have also released security updates to address this vulnerability (Debian Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management