Vulnerability
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.
10 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
DLA-1294-1
golang - security update
-
DSA-4379-1
golang-1.7 - security update
-
DSA-4380-1
golang-1.8 - security update
-
GO-2022-0203
Remote command execution via "go get" command with "-insecure" option in cmd/go
-
RHVEX-CVE-2018-7187
golang: arbitrary command execution via VCS path
-
SUSE-SU-2018:4297-1
Security update for containerd, docker and go
-
UBUNTU-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…
-
openSUSE-SU-2018:4302-1
Security update for go
-
openSUSE-SU-2024:10802-1
go-1.17-1.1 on GA media
-
openSUSE-SU-2024:10812-1
go1.9-1.9.7-11.2 on GA media
References
- https://gist.github.com/SLAYEROWNER/b2a358f13ab267f2e9543bb9f9320ffc
- https://github.com/golang/go/issues/23867
- https://lists.debian.org/debian-lts-announce/2018/02/msg00029.html
- https://security.gentoo.org/glsa/201804-12
- https://www.debian.org/security/2019/dsa-4379
- https://www.debian.org/security/2019/dsa-4380