High severity · published Feb 16, 2018
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…
8.8
CVSS
63%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)63.0% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
7.0; 9.0 · source: NVD
GO
GO · Golang
before 1.9.5; 1.10 before 1.10.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-7187
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-7187
Third Party Advisory
https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc
Exploit
https://github.com/golang/go/issues/23867
Mailing List
https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html
Third Party Advisory
https://security.gentoo.org/glsa/201804-12
Third Party Advisory
https://www.debian.org/security/2019/dsa-4379
Third Party Advisory
https://www.debian.org/security/2019/dsa-4380
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
