CVE-2018-7187

HIGHCVSS 8.8/10EPSS 63.23%

Last modified

CVE-2018-7187 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 63.23% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

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

EPSS Probability
63.23%

99.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GolangGo< 1.9.5
GolangGo>= 1.10, < 1.10.1
DebianDebian Linux7.0
DebianDebian Linux9.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-7187?
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.
How severe is CVE-2018-7187?
CVE-2018-7187 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 63.23% probability of exploitation in the next 30 days.
How do I fix CVE-2018-7187?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-7187?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST