CVE-2017-15041
Reported by mitre · Published October 5, 2017
toolchain is fixed in 1.9.1 and 1.8.4 (Go Modules)
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."
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| toolchain | Go Modules | 1.9.1, 1.8.4 |
| golang-src | Amazon Linux | 1.9.4-1.amzn2 |
| golang-docs | Amazon Linux | 1.9.4-1.amzn2 |
| golang-misc | Amazon Linux | 1.9.4-1.amzn2 |
| golang | Amazon Linux | 1.9.4-1.amzn2 |
| golang-bin | Amazon Linux | 1.9.4-1.amzn2 |
| go | golang | 1.8.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | golang-src | 0 |
| amazon:2 | golang-docs | 0 |
| amazon:2 | golang-misc | 0 |
| amazon:2 | golang | 0 |
| amazon:2 | golang-bin | 0 |
| n/a | n/a | * |
| amazon:2 | golang-tests | 0 |
| arch | go | 0 |
Timeline
- Oct 5, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (4 in total, the first dated here)
- Aug 9, 2026 Distribution Patch (2 in total, the first dated here)
- Oct 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-15041
vulnetix vdb fixes CVE-2017-15041
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-15041/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:3463 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0878 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 101196 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- GLSA-201710-23 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [debian-lts-announce] 20210313 [SECURITY] [DLA 2591-1] golang-1.7 security update mailing-listx_refsource_MLIST
- [debian-lts-announce] 20210313 [SECURITY] [DLA 2592-1] golang-1.8 security update mailing-listx_refsource_MLIST