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

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.

Published: 2024-06-25 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-6257 is rated Moderate Risk (54.2/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.97%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-6257

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.39% 0.97% +0.58%
2 2025-12-12 0.06% 0.39% +0.33%
3 2025-11-21 0.06%

Full EPSS history (16 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-6257

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.4 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.7 6.0 [email protected]
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]

Weakness enumeration for CVE-2024-6257

GitHub Security Advisory for CVE-2024-6257

GHSA-xfhp-jf8p-mh5w · Severity: high · Ecosystem: go — HashiCorp go-getter Vulnerable to Code Execution On Git Update Via Git Config Manipulation

OS Trackers for CVE-2024-6257

vendor priority summary link
debian not yet assigned CVE-2024-6257 not yet assigned priority: Debian including 1 source packages (golang-github-hashicorp-go-getter), 2 status rows across 2 suites (bookworm, bullseye): open 2. https://security-tracker.debian.org/tracker/CVE-2024-6257
redhat medium https://access.redhat.com/security/cve/CVE-2024-6257
ubuntu medium CVE-2024-6257 medium priority: Ubuntu including 2 source packages (golang-github-hashicorp-go-getter, golang-github-jesseduffield-go-getter), 17 status rows across 9 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, upstream): needed 8, ignored 5, DNE 2, needs-triage 1, released 1. https://ubuntu.com/security/CVE-2024-6257

Affected software / configurations for CVE-2024-6257

Vendor Product Version Raw CPE
hashicorp go-getter < 1.7.5 cpe:2.3:a:hashicorp:go-getter:*:*:*:*:*:*:*:*

References for CVE-2024-6257

cvelogic Threat Intelligence