CVE-2017-15041
Fixed in a distro release EPSS 9%
Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, "go get" can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository's Git checkout has malicious commands in .git/hooks/, they will execute on the system running "go get."
Products: golang go, debian_linux, redhat developer_tools, redhat enterprise_linux_eus, redhat enterprise_linux_server, redhat enterprise_linux_server_aus, redhat enterprise_linux_tus
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | toolchain | 1.8.4 |
| Go | toolchain | 1.9.1 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2 | golang | 1.9.4-1.amzn2 |
| Amazon Linux 2 | golang-bin | 1.9.4-1.amzn2 |
| Amazon Linux 2 | golang-docs | 1.9.4-1.amzn2 |
| Amazon Linux 2 | golang-misc | 1.9.4-1.amzn2 |
| Amazon Linux 2 | golang-src | 1.9.4-1.amzn2 |
| Amazon Linux 2 | golang-tests | 1.9.4-1.amzn2 |
| Arch Linux | go | 2:1.9.1-1 |
| Debian 7 | golang | 2:1.0.2-1.1+deb7u2 |
| Debian 9 | golang-1.7 | 1.7.4-2+deb9u3 |
| Debian 9 | golang-1.8 | 1.8.1-1+deb9u3 |
| Red Hat devtools 2 | go-toolset-7 | 0:1.8-10.el7 |
| Red Hat devtools 2 | go-toolset-7-build | 0:1.8-10.el7 |
| Red Hat devtools 2 | go-toolset-7-dockerfiles | 0:1.8-10.el7 |
| Red Hat devtools 2 | go-toolset-7-golang | 0:1.8.5-1.el7 |
| Red Hat devtools 2 | go-toolset-7-golang-bin | 0:1.8.5-1.el7 |
| Red Hat devtools 2 | go-toolset-7-golang-docs | 0:1.8.5-1.el7 |
| Red Hat devtools 2 | go-toolset-7-golang-misc | 0:1.8.5-1.el7 |
| Red Hat devtools 2 | go-toolset-7-golang-race | 0:1.8.5-1.el7 |
| Red Hat devtools 2 | go-toolset-7-golang-src | 0:1.8.5-1.el7 |
| Red Hat devtools 2 | go-toolset-7-golang-tests | 0:1.8.5-1.el7 |
| Red Hat devtools 2 | go-toolset-7-runtime | 0:1.8-10.el7 |
| Red Hat devtools 2 | go-toolset-7-scldevel | 0:1.8-10.el7 |
| Red Hat Enterprise Linux 7 | golang | 0:1.9.4-1.el7 |
| Red Hat Enterprise Linux 7 | golang-bin | 0:1.9.4-1.el7 |
| Red Hat Enterprise Linux 7 | golang-docs | 0:1.9.4-1.el7 |
| Red Hat Enterprise Linux 7 | golang-misc | 0:1.9.4-1.el7 |
| Red Hat Enterprise Linux 7 | golang-src | 0:1.9.4-1.el7 |
| Red Hat Enterprise Linux 7 | golang-tests | 0:1.9.4-1.el7 |
| Ubuntu 16.04 LTS | golang-1.6 | no fix |
| Ubuntu 18.04 LTS | golang-1.8 | no fix |
| openSUSE Tumbleweed | go | 1.17-1.1 |
| openSUSE Tumbleweed | go1.10 | 1.10.8-8.2 |
| openSUSE Tumbleweed | go1.11 | 1.11.13-10.5 |
| openSUSE Tumbleweed | go1.12 | 1.12.17-4.8 |
| openSUSE Tumbleweed | go1.4 | 1.4.3-12.2 |
| openSUSE Tumbleweed | go1.9 | 1.9.7-11.2 |