Name | CVE-2018-7187 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1294-1, DSA-4379-1, DSA-4380-1, ELA-379-1 |
Debian Bugs | 895663, 895664, 895665 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
golang (PTS) | jessie, jessie (lts) | 2:1.3.3-1+deb8u5 | fixed |
golang-1.7 (PTS) | stretch (security), stretch (lts), stretch | 1.7.4-2+deb9u5 | fixed |
golang-1.8 (PTS) | stretch (security), stretch (lts), stretch | 1.8.1-1+deb9u5 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
golang | source | wheezy | 2:1.0.2-1.1+deb7u3 | DLA-1294-1 | ||
golang | source | jessie | 2:1.3.3-1+deb8u3 | ELA-379-1 | ||
golang | source | (unstable) | (unfixed) | |||
golang-1.10 | source | (unstable) | 1.10.1-1 | |||
golang-1.7 | source | stretch | 1.7.4-2+deb9u1 | DSA-4379-1 | ||
golang-1.7 | source | (unstable) | (unfixed) | 895665 | ||
golang-1.8 | source | stretch | 1.8.1-1+deb9u1 | DSA-4380-1 | ||
golang-1.8 | source | (unstable) | (unfixed) | 895664 | ||
golang-1.9 | source | (unstable) | (unfixed) | 895663 |
[jessie] - golang <ignored> (Minor issue)
https://github.com/golang/go/issues/23867
https://github.com/golang/go/commit/c941e27e70c3e06e1011d2dd71d72a7a06a9bcbc