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.
The MITRE CVE dictionary describes this issue as:
Find out more about CVE-2018-7187 from the MITRE CVE dictionary dictionary and NIST NVD.
NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.
CVSS3 Base Score | 7.1 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Attack Vector | Network |
Attack Complexity | Low |
Privileges Required | None |
User Interaction | Required |
Scope | Changed |
Confidentiality | Low |
Integrity Impact | Low |
Availability Impact | Low |
Platform | Package | State |
---|---|---|
Red Hat OpenStack Platform Operational Tools 9 | golang | Will not fix |
Red Hat OpenShift Enterprise 3 | golang | Affected |
Red Hat Gluster Storage 3 | golang | Not affected |
Red Hat Enterprise Linux OpenStack Platform 8.0 Operational Tools for RHEL 7 | golang | Will not fix |
Red Hat Enterprise Linux 7 | golang | Will not fix |
Red Hat Ceph Storage 3 | golang | Not affected |
Red Hat Ceph Storage 2 | golang | Not affected |