Command Injection Affecting github.com/hashicorp/go-getter package, versions <1.7.5
Threat Intelligence
EPSS
0.04% (11th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMHASHICORPGOGETTER-7371669
- published 26 Jun 2024
- disclosed 25 Jun 2024
- credit Kraken Security Labs
Introduced: 25 Jun 2024
CVE-2024-6257 Open this link in a new tabHow to fix?
Upgrade github.com/hashicorp/go-getter
to version 1.7.5 or higher.
Overview
github.com/hashicorp/go-getter is a Package for downloading things from a string URL using a variety of protocols.
Affected versions of this package are vulnerable to Command Injection during a git update
operation. The git config may be modified to pull from an arbitrary repository after initialization. A user with access to the config who modifies it after the cloning step can trigger code execution.