CVEfocus › CVE database › CVE-2024-6257

CVE-2024-6257HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation

CVSS 8.4 HighEPSS 1.2% (higher than 67% of CVEs)Published 2024-06-25Updated 2024-08-01Assigner: HashiCorp

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.

CWE-77

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10golang-github-hashicorp-go-getterWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-6257
Ubuntu 24.04golang-github-hashicorp-go-getterFix pendingUBUNTU-CVE-2024-6257
Ubuntu 24.04golang-github-jesseduffield-go-getterFix pendingUBUNTU-CVE-2024-6257
Ubuntu 22.04golang-github-hashicorp-go-getterFix pendingUBUNTU-CVE-2024-6257
Ubuntu 22.04golang-github-jesseduffield-go-getterFix pendingUBUNTU-CVE-2024-6257
Ubuntu 20.04golang-github-hashicorp-go-getterWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-6257
Ubuntu 20.04golang-github-jesseduffield-go-getterWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2024-6257
Ubuntu 18.04golang-github-hashicorp-go-getterFix pendingUBUNTU-CVE-2024-6257
Debian 14golang-github-hashicorp-go-getterFixed1.8.9-1DEBIAN-CVE-2024-6257
Debian 12golang-github-hashicorp-go-getterFix pendingDEBIAN-CVE-2024-6257
Go librarygithub.com/hashicorp/go-getterFixed1.7.5GHSA-xfhp-jf8p-mh5w

What the vendor says

As published in the CVE record by HashiCorp, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.