CVE-2024-6257 HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation
HighCVSS 8.8
EPSS 0.98%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 4 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-hashicorp-go-getter(Debian 12) | = 1.4.1-1; = 1.8.9-1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| debian/golang-github-hashicorp-go-getter(Debian 14) | < 1.8.9-1; = 0.0~git20160316.0.575ec4e-1; = 1.4.0-1; = 1.4.1-1 | 1.8.9-1 | Fixed |
| hashicorp github.com/hashicorp/go-getter | < 1.7.5 | 1.7.5 | Fixed |
| hashicorp github.com/hashicorp/go-getter(Go) | < 1.7.5 | 1.7.5 | Fixed |
| hashicorp Shared library | < 1.7.4 | 1.7.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/go-getter(Go) | < 1.7.5 | 1.7.5 |
| debian/golang-github-hashicorp-go-getter(Debian:12) | All versions | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:12) | = 1.4.1-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:12) | = 1.8.9-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:14) | < 1.8.9-1 | 1.8.9-1 |
| debian/golang-github-hashicorp-go-getter(Debian:14) | = 0.0~git20160316.0.575ec4e-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:14) | = 1.4.0-1 | No fix listed |
| debian/golang-github-hashicorp-go-getter(Debian:14) | = 1.4.1-1 | No fix listed |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu:22.04) | All versions | No fix listed |
| hashicorp Shared library | < 1.7.4 | 1.7.4 |
| ubuntu/golang-github-hashicorp-go-getter(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-jesseduffield-go-getter(Ubuntu:24.04) | All versions | No fix listed |
| hashicorp github.com/hashicorp/go-getter | < 1.7.5 | 1.7.5 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- discuss.hashicorp.com vendor-advisory
- github.com vendor-advisory
- github.com product
- Debian Security Tracker CVE-2024-6257 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking