CVE-2024-6257Hashicorp Go-getter
High 8.8 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Go-getter We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Jun 25, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
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.7.5 |
1.7.5 |
go get github.com/hashicorp/go-getter@v1.7.5 |
| Go | github.com/hashicorp/go-getter |
< 1.7.5 |
1.7.5 |
go get github.com/hashicorp/go-getter@v1.7.5 |
Per OSV / GitHub Advisories (GHSA-xfhp-jf8p-mh5w, GO-2024-2948). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | go-getter | < 1.7.5 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory