Patchwire CVEs, their patch status, and feeds to follow them

CVE-2018-16873

Fixed in a distro release EPSS 66%CVSS 7.5

In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and the import path of a malicious Go package, or a package that imports it directly or indirectly. Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). Using custom domains, it's possible to arrange things so that a Git repository is cloned to a folder named ".git" by using a vanity import path that ends with "/.git". If the Git repository root contains a "HEAD" file, a "config" file, an "objects" directory, a "refs" directory, with some work to ensure the proper ordering of operations, "go get -u" can be tricked into considering the parent directory as a repository root, and running Git commands on it. That will use the "config" file in the original Git repository root for its configuration, and if that config file contains malicious commands, they will execute on the system running "go get -u".

Published 2018-12-14 · CVE record · OSV

Products: golang go, opensuse backports_sle, opensuse leap, suse linux_enterprise_server, debian_linux

Fixed upstream

EcosystemPackageFixed in
Gotoolchain1.10.6
Gotoolchain1.11.3

Distro releases

ReleasePackageFixed in
Arch Linuxgo2:1.11.3-1
Debian 9golang-1.71.7.4-2+deb9u3
Debian 9golang-1.81.8.1-1+deb9u3
SUSE Enterprise Storage 7.1docker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Module for Containers 12containerd1.2.2-16.14.2
SUSE Linux Enterprise Module for Containers 12containerd1.2.5-16.17.2
SUSE Linux Enterprise Module for Containers 12containerd1.4.4-16.38.1
SUSE Linux Enterprise Module for Containers 12docker18.09.6_ce-98.37.1
SUSE Linux Enterprise Module for Containers 12docker20.10.6_ce-98.66.1
SUSE Linux Enterprise Module for Containers 12docker18.09.1_ce-98.34.2
SUSE Linux Enterprise Module for Containers 12docker-runc1.0.0rc6+gitr3748_96ec2177ae84-1.17.2
SUSE Linux Enterprise Module for Containers 12docker-runc1.0.0rc6+gitr3804_2b18fe1d885e-1.23.1
SUSE Linux Enterprise Module for Containers 12golang-github-docker-libnetwork0.7.0.1+gitr2711_2cfbf9b1f981-16.2
SUSE Linux Enterprise Module for Containers 12golang-github-docker-libnetwork0.7.0.1+gitr2726_872f0a83c98a-19.1
SUSE Linux Enterprise Module for Containers 12runc1.0.0~rc93-16.8.1
SUSE Linux Enterprise Module for Containers 15containerd1.2.2-5.9.1
SUSE Linux Enterprise Module for Containers 15containerd1.1.2-5.6.1
SUSE Linux Enterprise Module for Containers 15containerd1.2.5-5.13.1
SUSE Linux Enterprise Module for Containers 15containerd1.1.2-5.3.4
SUSE Linux Enterprise Module for Containers 15docker18.09.1_ce-6.14.1
SUSE Linux Enterprise Module for Containers 15docker18.09.0_ce-6.11.2
SUSE Linux Enterprise Module for Containers 15docker18.06.1_ce-6.8.2
SUSE Linux Enterprise Module for Containers 15docker18.09.6_ce-6.17.1
SUSE Linux Enterprise Module for Containers 15docker-runc1.0.0rc6+gitr3748_96ec2177ae84-6.12.1
SUSE Linux Enterprise Module for Containers 15docker-runc1.0.0rc5+gitr3562_69663f0bd4b6-6.6.1
SUSE Linux Enterprise Module for Containers 15docker-runc1.0.0rc6+gitr3804_2b18fe1d885e-6.18.1
SUSE Linux Enterprise Module for Containers 15docker-runc1.0.0rc5+gitr3562_69663f0bd4b6-6.3.4
SUSE Linux Enterprise Module for Containers 15golang-github-docker-libnetwork0.7.0.1+gitr2711_2cfbf9b1f981-4.9.1
SUSE Linux Enterprise Module for Containers 15golang-github-docker-libnetwork0.7.0.1+gitr2664_3ac297bc7fd0-4.3.5
SUSE Linux Enterprise Module for Containers 15golang-github-docker-libnetwork0.7.0.1+gitr2704_6da50d197830-4.6.1
SUSE Linux Enterprise Module for Containers 15golang-github-docker-libnetwork0.7.0.1+gitr2726_872f0a83c98a-4.12.1
SUSE Linux Enterprise Module for Containers 15helm-mirror0.2.1-1.7.1
SUSE Linux Enterprise Module for Containers 15 SP1containerd1.2.5-5.13.1
SUSE Linux Enterprise Module for Containers 15 SP1docker18.09.6_ce-6.17.1
SUSE Linux Enterprise Module for Containers 15 SP1docker-runc1.0.0rc6+gitr3804_2b18fe1d885e-6.18.1
SUSE Linux Enterprise Module for Containers 15 SP1golang-github-docker-libnetwork0.7.0.1+gitr2726_872f0a83c98a-4.12.1
SUSE Linux Enterprise Module for Containers 15 SP1helm-mirror0.2.1-1.7.1
SUSE Linux Enterprise Module for Containers 15 SP6docker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Module for Containers 15 SP7docker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Server 12 SP5-LTSSdocker-stable24.0.9_ce-1.20.1
SUSE Linux Enterprise Server 15 SP3-LTSSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Server 15 SP4-LTSSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Server 15 SP5-LTSSdocker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5docker-stable24.0.9_ce-1.20.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3docker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4docker-stable24.0.9_ce-150000.1.25.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5docker-stable24.0.9_ce-150000.1.25.1
SUSE OpenStack Cloud 6-LTSScontainerd1.2.2-16.14.2
SUSE OpenStack Cloud 6-LTSSdocker18.09.1_ce-98.34.2
SUSE OpenStack Cloud 6-LTSSdocker-runc1.0.0rc6+gitr3748_96ec2177ae84-1.17.2
SUSE OpenStack Cloud 6-LTSSgolang-github-docker-libnetwork0.7.0.1+gitr2711_2cfbf9b1f981-16.2
SUSE Package Hub 12 SP3helm2.13.1-5.1
SUSE Package Hub 15go1.12-bp150.2.6.1
SUSE Package Hub 15runc1.0.0~rc6-bp150.2.3.1
Ubuntu 14.04 LTSgolang-1.10no fix
Ubuntu 16.04 LTSgolang-1.10no fix
Ubuntu 16.04 LTSgolang-1.6no fix
Ubuntu 18.04 LTSgolang-1.10no fix
Ubuntu 18.04 LTSgolang-1.8no fix
Ubuntu 18.04 LTSgolang-1.9no fix
openSUSE Leap 15.0containerd1.2.5-lp150.4.14.3
openSUSE Leap 15.0docker18.09.6_ce-lp150.5.17.2
openSUSE Leap 15.0docker-runc1.0.0rc6+gitr3804_2b18fe1d885e-lp150.5.21.2
openSUSE Leap 15.0go1.12-lp150.2.11.1
openSUSE Leap 15.0go1.111.11.9-lp150.9.3
openSUSE Leap 15.0go1.121.12.4-lp150.2.2
openSUSE Leap 15.0golang-github-docker-libnetwork0.7.0.1+gitr2726_872f0a83c98a-lp150.3.14.1
openSUSE Leap 15.1containerd1.2.5-lp151.2.3.1
openSUSE Leap 15.1cri-o1.17.1-lp151.2.2
openSUSE Leap 15.1cri-tools1.18.0-lp151.2.1
openSUSE Leap 15.1docker18.09.6_ce-lp151.2.3.1
openSUSE Leap 15.1docker-runc1.0.0rc6+gitr3804_2b18fe1d885e-lp151.3.3.1
openSUSE Leap 15.1go1.12-lp151.2.3.1
openSUSE Leap 15.1go1.111.11.9-lp151.2.3.1
openSUSE Leap 15.1go1.121.12.4-lp151.2.3.1
openSUSE Leap 15.1go1.141.14-lp151.6.1
openSUSE Leap 15.1golang-github-docker-libnetwork0.7.0.1+gitr2726_872f0a83c98a-lp151.2.3.1
openSUSE Leap 15.1kubernetes1.18.0-lp151.5.1
openSUSE Leap 15.5etcd3.5.12-150000.7.6.1
openSUSE Leap 15.6docker-stable24.0.9_ce-150000.1.25.1
openSUSE Leap 15.6etcd3.5.12-150000.7.6.1
openSUSE Tumbleweedcontainerd1.4.8-2.2
openSUSE Tumbleweedcri-o1.22.0-1.2
openSUSE Tumbleweeddocker20.10.6_ce-2.1
openSUSE Tumbleweeddocker-stable24.0.9_ce-15.1
openSUSE Tumbleweedetcd3.4.16-3.1
openSUSE Tumbleweedflannel0.14.0-1.2
openSUSE Tumbleweedgo1.17-1.1
openSUSE Tumbleweedgo1.101.10.8-8.2
openSUSE Tumbleweedgo1.111.11.13-10.5
openSUSE Tumbleweedgo1.121.12.17-4.8
openSUSE Tumbleweedhelm3.6.3-1.1
openSUSE Tumbleweedhelm-mirror0.3.1-1.9
openSUSE Tumbleweedhelm33.19.2-1.1
openSUSE Tumbleweedrunc1.0.2-1.2