Skip to main content
← All vulnerabilities
CVE-2024-32004

Git vulnerable to Remote Code Execution while cloning special-crafted local repositories

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.43.4, 2.42.2, 2.40.2, 2.39.4
2 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. 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. As a workaround, avoid cloning repositories from untrusted sources.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • git git

    From 2.43.0 · fixed in 2.43.4; From 2.42.0 · fixed in 2.42.2; From 2.40.0 · fixed in 2.40.2; fixed in 2.39.4

References 8

GitHub · git/git

git-scm.com

lists.fedoraproject.org

openwall.com

lists.debian.org

GitHub · 10cks/CVE-2024-32004-POC

GitHub · Wadewfsssss/CVE-2024-32004