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.
{
"cwe_ids": [
"CWE-114"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32004.json",
"cna_assigner": "GitHub_M"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32004.json"
[
{
"target": {
"file": "path.c"
},
"id": "CVE-2024-32004-3ab715ca",
"deprecated": false,
"signature_type": "Line",
"source": "https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8",
"signature_version": "v1",
"digest": {
"line_hashes": [
"45294003144689119548277046678289316083",
"309352054631505652906559086720521916691",
"227127197232322950683898198590264096921",
"193314351807589747373269628427310562660",
"177745855262106223516038815373878749657",
"300642084120798625785048215664597812800",
"133722532631573321917649465671677779790",
"210790909159161503000163879877459222109"
],
"threshold": 0.9
}
},
{
"target": {
"function": "enter_repo",
"file": "path.c"
},
"id": "CVE-2024-32004-436d3789",
"deprecated": false,
"signature_type": "Function",
"source": "https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8",
"signature_version": "v1",
"digest": {
"function_hash": "65755541231955128684927330193945321426",
"length": 1436.0
}
},
{
"target": {
"file": "cache.h"
},
"id": "CVE-2024-32004-4e1789c9",
"deprecated": false,
"signature_type": "Line",
"source": "https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8",
"signature_version": "v1",
"digest": {
"line_hashes": [
"52887605817421439801183684811235498754",
"33419222072235022558223135471097715196",
"96187727428552915029369741612525680600"
],
"threshold": 0.9
}
},
{
"target": {
"file": "setup.c"
},
"id": "CVE-2024-32004-c303070a",
"deprecated": false,
"signature_type": "Line",
"source": "https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8",
"signature_version": "v1",
"digest": {
"line_hashes": [
"263380987938213441223031154487962457493",
"27029750263920257402586502723201047642",
"313249096040047857051149013071639811598"
],
"threshold": 0.9
}
}
]