What’s Vulnerable › Vulnerabilities

CVE-2018-7187

Description

The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted web site.

Affected products

How to fix

Upgrade to a fixed version: Go 1.10.1, 1.9.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-7187 or the next vulnerability affects your stack