Red Hat VEX
RHVEX-CVE-2018-7187
golang: arbitrary command execution via VCS path
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | golang | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | golang-bin | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | golang-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | golang-misc | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | golang-src | All versions, will not be fixed |
| Red Hat:enterprise_linux:7 | golang-tests | All versions, will not be fixed |