Go · Go · CVE-2018-7187
**Name of the Vulnerable Software and Affected Versions**
Go version 1.9.4
**Description**
The issue arises from insufficient input validation in the "go get" implementation when the -insecure command-line option is used. Specifically, it only checks for "://" anywhere in the string, which allows remote attackers to execute arbitrary OS commands via a crafted web site. This can lead to remote code execution.
**Recommendations**
For Go version 1.9.4, avoid using the -insecure command-line option with the "go get" command until a patch is available. As a temporary workaround, consider validating import paths manually to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.