CVE-2018-7187

High

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.

SeverityHigh
CVSS8.8
Exploit probability99. percentile63%
ProductGo
PublishedFeb 16, 2018
First seenFeb 16, 2018

How to fix

Update
  • golang go1.9.5, 1.10.1 or later
  • toolchain1.9.5, 1.10.1 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.9.5, 1.10 ≤ v < 1.10.11.9.5, 1.10.1
debian debian_linux7.0, 9.0—
toolchainGov < 1.9.5, 1.10.0-0 ≤ v < 1.10.11.9.5, 1.10.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.