CVE-2024-32004

HIGH7.8EPSS 2.4%

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

Published: 5/14/2024Modified: 4/28/2026

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, 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.

Affected packages (3)

  • Alpine/gitfrom 0, < 2.39.5-r0
  • Bitnami/gitfrom 0, < 2.39.4, >= 2.40.0, < 2.40.2, >= 2.41.0, < 2.41.1, >= 2.42.0, < 2.42.2, >= 2.43.0, < 2.43.4, >= 2.44.0, < 2.44.1, >= 2.45.0, < 2.45.1
  • Debian/gitfrom 0, < 1:2.30.2-1+deb11u3

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References (10)