CVE-2018-7187

NameCVE-2018-7187
DescriptionThe "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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1294-1, DSA-4379-1, DSA-4380-1, ELA-379-1
Debian Bugs895663, 895664, 895665

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang (PTS)jessie, jessie (lts)2:1.3.3-1+deb8u5fixed
golang-1.7 (PTS)stretch (security), stretch (lts), stretch1.7.4-2+deb9u5fixed
golang-1.8 (PTS)stretch (security), stretch (lts), stretch1.8.1-1+deb9u5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golangsourcewheezy2:1.0.2-1.1+deb7u3DLA-1294-1
golangsourcejessie2:1.3.3-1+deb8u3ELA-379-1
golangsource(unstable)(unfixed)
golang-1.10source(unstable)1.10.1-1
golang-1.7sourcestretch1.7.4-2+deb9u1DSA-4379-1
golang-1.7source(unstable)(unfixed)895665
golang-1.8sourcestretch1.8.1-1+deb9u1DSA-4380-1
golang-1.8source(unstable)(unfixed)895664
golang-1.9source(unstable)(unfixed)895663

Notes

[jessie] - golang <ignored> (Minor issue)
https://github.com/golang/go/issues/23867
https://github.com/golang/go/commit/c941e27e70c3e06e1011d2dd71d72a7a06a9bcbc

Search for package or bug name: Reporting problems