CVE-2017-15041
publishedgolang: arbitrary code execution during "go get" or "go get -d"
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1011 | Fixed | Not stated | Amazon Linux assessment |
| Debian | stretch | golang-1.7 | Advisory build | 1.7.4-2+deb9u3 | DLA-2591-1 |
| Red Hat Enterprise Linux | RHEL-7 | golangaarch64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| SUSE / openSUSE | openSUSE-Tumbleweed | goaarch64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| Amazon Linux | AL2 | golangnoarch | Listed in advisory | Not stated | ALAS2-2018-1011 |
| Debian | stretch | golang-1.8 | Advisory build | 1.8.1-1+deb9u3 | DLA-2592-1 |
| Debian | wheezy | golang | Advisory build | 2:1.0.2-1.1+deb7u2 | DLA-1148-1 |
Show 85 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | golangppc64le | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golangs390x | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golangsrc | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golangx86_64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-binaarch64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-binppc64le | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-bins390x | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-binx86_64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-docsnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-miscnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-srcnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-testsnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| SUSE / openSUSE | openSUSE-Tumbleweed | goppc64le | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gos390x | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gox86_64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docaarch64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docppc64le | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docs390x | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docx86_64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-raceaarch64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-raceppc64le | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-races390x | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-racex86_64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10aarch64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10ppc64le | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10s390x | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10x86_64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docaarch64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docppc64le | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docs390x | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docx86_64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-raceaarch64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-raceppc64le | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-races390x | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-racex86_64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11aarch64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11ppc64le | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11s390x | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11x86_64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docaarch64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docppc64le | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docs390x | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docx86_64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-raceaarch64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-raceppc64le | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-races390x | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-racex86_64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12aarch64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12ppc64le | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12s390x | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12x86_64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docaarch64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docppc64le | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docs390x | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docx86_64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-raceaarch64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-raceppc64le | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-races390x | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-racex86_64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4aarch64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4ppc64le | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4s390x | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4x86_64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docaarch64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docppc64le | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docs390x | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docx86_64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-raceaarch64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-raceppc64le | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-races390x | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-racex86_64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9aarch64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9ppc64le | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9s390x | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9x86_64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docaarch64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docppc64le | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docs390x | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docx86_64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-raceaarch64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-raceppc64le | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-races390x | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-racex86_64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| Amazon Linux | AL2 | golangsrc | Listed in advisory | Not stated | ALAS2-2018-1011 |
| Amazon Linux | AL2 | golangx86_64 | Listed in advisory | Not stated | ALAS2-2018-1011 |
Description
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."
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
10- 101196 http://www.securityfocus.com/bid/101196
- RHSA-2017:3463 https://access.redhat.com/errata/RHSA-2017:3463
- RHSA-2018:0878 https://access.redhat.com/errata/RHSA-2018:0878
- https://github.com/golang/go/issues/22125
- https://golang.org/cl/68022
- https://golang.org/cl/68190
- https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ
- [debian-lts-announce] 20210313 [SECURITY] [DLA 2591-1] golang-1.7 security update https://lists.debian.org/debian-lts-announce/2021/03/msg00014.html
- [debian-lts-announce] 20210313 [SECURITY] [DLA 2592-1] golang-1.8 security update https://lists.debian.org/debian-lts-announce/2021/03/msg00015.html
- GLSA-201710-23 https://security.gentoo.org/glsa/201710-23
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ef984ef5ebdbdf8e174230e45e0cc670588a272da61397c1b60ffb455d7bd98d
- Ingested
- 23 Sep 2026, 07:42:08 UTC
- Source record
- Official CVE record