{"id":"CVE-2024-32004","summary":"Git vulnerable to Remote Code Execution while cloning special-crafted local repositories","details":"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.","aliases":["BIT-git-2024-32004","GHSA-xfc6-vwr8-r389"],"modified":"2026-04-16T03:47:26.291730Z","published":"2024-05-14T18:46:32.192Z","related":["ALSA-2024:4083","ALSA-2024:4084","CGA-q6jf-7qm9-xwpq","SUSE-SU-2024:1807-1","SUSE-SU-2024:1807-2","SUSE-SU-2024:1854-1","SUSE-SU-2024:2277-1","SUSE-SU-2025:0197-1","SUSE-SU-2025:20049-1","openSUSE-SU-2024:13968-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32004.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-114"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/05/14/2"},{"type":"WEB","url":"https://git-scm.com/docs/git-clone"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00009.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32004.json"},{"type":"ADVISORY","url":"https://github.com/git/git/security/advisories/GHSA-xfc6-vwr8-r389"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32004"},{"type":"FIX","url":"https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/git/git","events":[{"introduced":"73876f4861cd3d187a4682290ab75c9dccadbc56"},{"fixed":"b9b439e0e3a543ddb920e4cf8d3c9d53f730111f"}]}],"versions":["v2.40.0","v2.40.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-32004.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}