CVE-2024-3817
CRITICAL 9.8CVSS 3.1HashiCorp go-getter Vulnerable to Argument Injection When Fetching Remote Default Git Branches
HashiCorp’s go-getter library is vulnerable to argument injection when executing Git to discover remote branches.
This vulnerability does not affect the go-getter/v2 branch and package.
- Published
- 17 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-88
- Also known as
- GHSA-q64h-39hv-4cf7GO-2024-2800
- Sources
- NVDJSONOSV GHSA-q64h-39hv-4cf7JSONOSV GO-2024-2800JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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.5.9, < 1.7.4 | 1.7.4 |
| OSV | Go | github.com/hashicorp/go-getter | >= 1.5.9, < 1.7.4 | 1.7.4 |
References
- https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-3817 · ADVISORY
- https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9 · WEB, FIX
- https://github.com/hashicorp/go-getter · PACKAGE
- https://github.com/advisories/GHSA-q64h-39hv-4cf7 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 17 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 May 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Apr 2024)