CVE-2018-7187

HIGH

GO < 1.9.5 - OS Command Injection

Title source: rule
STIX 2.1

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.

References (6)

Core 6
Core References
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4380
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201804-12
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2019/dsa-4379
Exploit, Issue Tracking, Third Party Advisory x_refsource_confirm
https://github.com/golang/go/issues/23867

Scores

CVSS v3 8.8
EPSS 0.0759
EPSS Percentile 91.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-78
Status published
Products (3)
debian/debian_linux 7.0
debian/debian_linux 9.0
golang/go < 1.9.5
Published Feb 16, 2018
Tracked Since Feb 18, 2026