{"id":"CVE-2024-6257","state":"PUBLISHED","title":"HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation","description":"HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution.","publishedAt":"2024-06-25T16:31:03.882Z","updatedAt":"2024-08-01T21:33:05.245Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","source":"HashiCorp"},"assigner":"HashiCorp","products":["HashiCorp Shared library"],"affected":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.7.4","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/go-getter"}],"references":["https://discuss.hashicorp.com/t/hcsec-2024-13-hashicorp-go-getter-vulnerable-to-code-execution-on-git-update-via-git-config-manipulation/68081"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6257.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6257","state":"PUBLISHED","datePublished":"2024-06-25T16:31:03.882Z","dateUpdated":"2024-08-01T21:33:05.245Z","assignerShortName":"HashiCorp","assignerOrgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateReserved":"2024-06-21T20:12:09.424Z"},"containers":{"cna":{"title":"HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation","descriptions":[{"lang":"en","value":"HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution."}],"affected":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.7.4","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"],"repo":"https://github.com/hashicorp/go-getter"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-13-hashicorp-go-getter-vulnerable-to-code-execution-on-git-update-via-git-config-manipulation/68081"}],"metrics":[{"cvssV3_1":{"baseScore":8.4,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","description":"CWE-77: Improper Neutralization of Special Elements used in a Command (Command Injection)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"HashiCorp","orgId":"67fedba0-ff2e-4543-ba5b-aa93e87718cc","dateUpdated":"2024-06-25T16:31:03.882Z"},"impacts":[{"capecId":"CAPEC-248","descriptions":[{"lang":"en","value":"CAPEC-248: Command Injection"}]}],"source":{"advisory":"HCSEC-2024-13","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"hashicorp","product":"shared_library","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.7.4","versionType":"semver"}],"cpes":["cpe:2.3:a:hashicorp:shared_library:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-25T17:53:59.411597Z","id":"CVE-2024-6257","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-25T17:58:18.630Z"}},{"title":"CVE Program Container","references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2024-13-hashicorp-go-getter-vulnerable-to-code-execution-on-git-update-via-git-config-manipulation/68081","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:33:05.245Z"}}]}}}