CVE-2018-7187Published Feb 16, 2018 · Feb 16Updated Oct 20
Remote command execution via "go get" command with "-insecure" option in cmd/go
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| toolchain Go |
|
|
Original 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.
From the CVE record · mitre