CVE-2024-6257
HIGH 8.8CVSS 3.1HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation
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
- 25 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-77
- Also known as
- GHSA-xfhp-jf8p-mh5wGO-2024-2948
- Sources
- NVDJSONOSV GHSA-xfhp-jf8p-mh5wJSONOSV GO-2024-2948JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | go-gettercpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:* |
< 1.7.5 | 1.7.5 |
| OSV | Go | github.com/hashicorp/go-getter | < 1.7.5 | 1.7.5 |
References
- https://discuss.hashicorp.com/t/hcsec-2024-13-hashicorp-go-getter-vulnerable-to-code-execution-on-git-update-via-git-config-manipulation/68081 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-6257 · ADVISORY
- https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9 · WEB, FIX
- https://github.com/advisories/GHSA-xfhp-jf8p-mh5w · ADVISORY
- https://github.com/hashicorp/go-getter · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2024)