github.com/hashicorp/go-getter
Affected
- introduced
0, fixed1.7.5(semver)
Fixed versions
1.7.5
Fix
- Fixed version
1.7.5go get github.com/hashicorp/[email protected]
Advisory
Also known as: CVE-2024-6257, GHSA-xfhp-jf8p-mh5w
Code Execution on Git update in github.com/hashicorp/go-getter
A crafted request can execute Git update on an existing maliciously modified Git Configuration. This can potentially lead to arbitrary code execution. When performing a Git operation, the library will try to clone the given repository to a specified destination. Cloning initializes a git config in the provided destination. An attacker may alter the Git config after the cloning step to set an arbitrary Git configuration to achieve code execution.
Not rated by the source.
0, fixed 1.7.5 (semver)1.7.5
1.7.5go get github.com/hashicorp/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0