ADVISORIES

Red Hat VEX

RHVEX-CVE-2018-7187

golang: arbitrary command execution via VCS path

Moderate No fix available CVE-2018-7187

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

EcosystemPackageAffected versions
Red Hat:enterprise_linux:7golang
All versions, will not be fixed
Red Hat:enterprise_linux:7golang-bin
All versions, will not be fixed
Red Hat:enterprise_linux:7golang-docs
All versions, will not be fixed
Red Hat:enterprise_linux:7golang-misc
All versions, will not be fixed
Red Hat:enterprise_linux:7golang-src
All versions, will not be fixed
Red Hat:enterprise_linux:7golang-tests
All versions, will not be fixed

References