Synced 17 Jun 2026 22:27 UTC Account
← All products

CVE-2018-7187

HIGH severity · CVSS 8.8 · OS command injection
8.8CVSS HIGH

Summary

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.

Impact & exploitability

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit probability (EPSS)64%

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products we track (1)

Go

Recommendation

Apply the vendor fix promptly. Open any affected product above for its exact safe version.