{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6257","id":"CVE-2024-6257","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.","descriptionLong":"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.","published":"2024-06-25T16:31:03.882Z","updated":"2026-10-28T02:30:26.331901869Z","reserved":"2024-06-21T20:12:09.424Z","status":"Analyzed","rejected":false,"assigner":"HashiCorp","metric":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"HashiCorp"},"metrics":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"HashiCorp"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"hashicorp.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["HashiCorp Shared library"],"affectedProducts":[{"vendor":"HashiCorp","product":"Shared library","defaultStatus":"unaffected","versions":[{"lessThan":"1.7.4","status":"affected","version":"0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/go-getter","purl":"pkg:golang/github.com/hashicorp/go-getter","ranges":["<1.7.5"],"fixed":["1.7.5"],"advisory":"GHSA-xfhp-jf8p-mh5w"}],"cwes":["CWE-77"],"aliases":["GHSA-xfhp-jf8p-mh5w","GO-2024-2948"],"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","Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6257.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6257","tags":["advisory"]},{"url":"https://github.com/hashicorp/go-getter","tags":["package"]},{"url":"https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-xfhp-jf8p-mh5w","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00981,"epssPercentile":0.62982,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6257","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6257","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6257","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xfhp-jf8p-mh5w","ok":true,"note":"GHSA-xfhp-jf8p-mh5w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6257","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}