CVE-2024-3817Hashicorp Go-getter
Critical 9.8 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Go-getter We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Apr 17, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Go-getter.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/go-getter |
≥ 1.5.9 < 1.7.4 |
1.7.4 |
go get github.com/hashicorp/go-getter@v1.7.4 |
| Go | github.com/hashicorp/go-getter |
≥ 1.5.9 < 1.7.4 |
1.7.4 |
go get github.com/hashicorp/go-getter@v1.7.4 |
Per OSV / GitHub Advisories (GHSA-q64h-39hv-4cf7, GO-2024-2800). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | go-getter | ≥ 1.5.9 < 1.7.4 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory