CVE-2017-15041Golang Go
Critical 9.8 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 9.8
- EPSS
- 7.2% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Oct 5, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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."
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | toolchain |
< 1.8.4 |
1.8.4 |
go get toolchain@v1.8.4 |
| Go | toolchain |
≥ 1.9.0-0 < 1.9.1 |
1.9.1 |
go get toolchain@v1.9.1 |
Per OSV / GitHub Advisories (GO-2022-0177). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | ≤ 1.8.3 |
| golang | go | 1.9 |
| debian | debian_linux | 9.0 |
| redhat | developer_tools | 1.0 |
| redhat | enterprise_linux_eus | 7.6 |
| redhat | enterprise_linux_eus | 7.7 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_server_aus | 7.6 |
| redhat | enterprise_linux_server_aus | 7.7 |
| redhat | enterprise_linux_tus | 7.6 |
| redhat | enterprise_linux_tus | 7.7 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- golang.org Issue Tracking Patch Vendor Advisory
- golang.org Issue Tracking Patch Vendor Advisory
- groups.google.com Mailing List Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory