{"id":"CVE-2024-6257","summary":"HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation","details":"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.","aliases":["GHSA-xfhp-jf8p-mh5w","GO-2024-2948"],"modified":"2026-05-28T03:53:29.541393408Z","published":"2024-06-25T16:31:03.882Z","related":["CGA-2x8c-j6qq-9ch3","openSUSE-SU-2024:0268-1","openSUSE-SU-2024:0269-1","openSUSE-SU-2024:14183-1","openSUSE-SU-2024:14190-1"],"database_specific":{"cwe_ids":["CWE-77"],"cna_assigner":"HashiCorp","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6257.json"},"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-13-hashicorp-go-getter-vulnerable-to-code-execution-on-git-update-via-git-config-manipulation/68081"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6257.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6257"},{"type":"PACKAGE","url":"https://github.com/hashicorp/go-getter"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/go-getter","events":[{"introduced":"0"},{"fixed":"268c11cae8cf0d9374783e06572679796abe9ce9"}]}],"versions":["v1.7.3","v1.7.2","v1.7.1","v1.7.0","v1.6.2","v1.6.1","v1.6.0","v1.5.11","v1.5.10","v1.5.9","v1.5.8","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.2","v1.4.1","v1.4.0","v1.1.0","v1.3.0","v1.2.0","v1.0.3","v1.0.2","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-6257.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H"}]}