Vulnerability Report: GO-2024-2800
- CVE-2024-3817, GHSA-q64h-39hv-4cf7
- Affects: github.com/hashicorp/go-getter
- Published: May 10, 2024
- Modified: May 20, 2024
When go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository's HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on. An attacker may format a Git URL in order to inject additional Git arguments to the Git call.
For detailed information about this vulnerability, visit https://github.com/advisories/GHSA-q64h-39hv-4cf7.
Affected Packages
-
PathGo VersionsSymbols
-
from v1.5.9 before v1.7.4
Aliases
References
- https://github.com/advisories/GHSA-q64h-39hv-4cf7
- https://github.com/hashicorp/go-getter/commit/268c11cae8cf0d9374783e06572679796abe9ce9
- https://discuss.hashicorp.com/t/hcsec-2024-09-hashicorp-go-getter-vulnerable-to-argument-injection-when-fetching-remote-default-git-branches/66040
- https://vuln.go.dev/ID/GO-2024-2800.json
Feedback
See anything missing or incorrect?
Suggest an edit to this report.