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
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References (10)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2024-32004
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-32004
- WEBhttps://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8
- WEBhttps://github.com/git/git/security/advisories/GHSA-xfc6-vwr8-r389
- WEBhttps://git-scm.com/docs/git-clone
- WEBhttps://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
- WEBhttps://lists.debian.org/debian-lts-announce/2024/09/msg00009.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-32004
- WEBhttp://www.openwall.com/lists/oss-security/2024/05/14/2